ISO mounting code now defaults to 2048 bytes per sector Mode 1 if it can not read the PVD rather than refusing to load the ISO, fixes mounting of Apple Rhapsody ISO's.

This commit is contained in:
OBattler
2017-07-22 11:51:00 +02:00
parent 843057a9a9
commit 2d13d7cb20
3 changed files with 8 additions and 1 deletions

View File

@@ -988,6 +988,7 @@ int image_open(uint8_t id, wchar_t *fn)
wcstombs(afn, fn, sizeof(afn));
if (!cdimg[id]->SetDevice(afn, false))
{
pclog("Image failed to load\n");
image_close(id);
cdrom_set_null_handler(id);
return 1;