mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-26 23:55:40 +00:00
CDImage: Handle .iso files the same as .bin files
Very reluctant to add this but people keep complaining...
This commit is contained in:
parent
ce81d23574
commit
2467dbedd7
|
@ -30,11 +30,18 @@ std::unique_ptr<CDImage> CDImage::Open(const char* filename)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (CASE_COMPARE(extension, ".cue") == 0)
|
if (CASE_COMPARE(extension, ".cue") == 0)
|
||||||
|
{
|
||||||
return OpenCueSheetImage(filename);
|
return OpenCueSheetImage(filename);
|
||||||
else if (CASE_COMPARE(extension, ".bin") == 0 || CASE_COMPARE(extension, ".img") == 0)
|
}
|
||||||
|
else if (CASE_COMPARE(extension, ".bin") == 0 || CASE_COMPARE(extension, ".img") == 0 ||
|
||||||
|
CASE_COMPARE(extension, ".iso") == 0)
|
||||||
|
{
|
||||||
return OpenBinImage(filename);
|
return OpenBinImage(filename);
|
||||||
|
}
|
||||||
else if (CASE_COMPARE(extension, ".chd") == 0)
|
else if (CASE_COMPARE(extension, ".chd") == 0)
|
||||||
|
{
|
||||||
return OpenCHDImage(filename);
|
return OpenCHDImage(filename);
|
||||||
|
}
|
||||||
|
|
||||||
#undef CASE_COMPARE
|
#undef CASE_COMPARE
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue