mirror of
https://github.com/GerbilSoft/rom-properties.git
synced 2025-06-18 11:35:38 -04:00
[libromdata] Dreamcast: Fix typo that broke GDI parsing.
Both the GDI and CDI branches were attempting to create CdiReader objects.
That obviously won't work for GDI.
This fixes a regression from commit 209ea0d951
.
([libromdata] MultiTrackSparseDiscReader.hpp: New interface for multi-track sparse disc reader classes.)
Affects: v2.4 - v2.4.1
This commit is contained in:
parent
536432f81f
commit
1c2d28d876
2
NEWS.md
2
NEWS.md
@ -58,6 +58,8 @@
|
||||
also considered root directories, so the directory check was done instead
|
||||
of the device check.
|
||||
* Affects: v2.4 - v2.4.1
|
||||
* Dreamcast: Fix typo that broke GDI parsing.
|
||||
* Affects: V2.4 - v2.4.1
|
||||
|
||||
* Other changes:
|
||||
* CMake: Added an ENABLE_NETWORKING option to control whether or not
|
||||
|
@ -401,7 +401,7 @@ Dreamcast::Dreamcast(const IRpFilePtr &file)
|
||||
// CDI manages its own iso_start_offset.
|
||||
const char *mimeType;
|
||||
if (d->discType == DreamcastPrivate::DiscType::GDI) {
|
||||
d->discReader = std::make_shared<CdiReader>(d->file);
|
||||
d->discReader = std::make_shared<GdiReader>(d->file);
|
||||
mimeType = "application/x-gd-rom-cue";
|
||||
} else /*if (d->discType == DreamcastPrivate::DiscType::CDI)*/ {
|
||||
d->discReader = std::make_shared<CdiReader>(d->file);
|
||||
|
Loading…
Reference in New Issue
Block a user