mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-23 06:15:38 +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
|
||||
|
||||
if (CASE_COMPARE(extension, ".cue") == 0)
|
||||
{
|
||||
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);
|
||||
}
|
||||
else if (CASE_COMPARE(extension, ".chd") == 0)
|
||||
{
|
||||
return OpenCHDImage(filename);
|
||||
}
|
||||
|
||||
#undef CASE_COMPARE
|
||||
|
||||
|
|
Loading…
Reference in a new issue