CDImage: Add CD-ROM device implementation

This commit is contained in:
Connor McLaughlin
2021-07-24 18:38:54 +10:00
parent 673f9927ad
commit 4d262e8072
9 changed files with 618 additions and 10 deletions

View File

@ -66,6 +66,9 @@ std::unique_ptr<CDImage> CDImage::Open(const char* filename, Common::Error* erro
return OpenM3uImage(filename, error);
}
if (IsDeviceName(filename))
return OpenDeviceImage(filename, error);
#undef CASE_COMPARE
Log_ErrorPrintf("Unknown extension '%s' from filename '%s'", extension, filename);