cdvd: return 0xff instead of 0 on unknown 8 bit reads. improves compatibility with popstarter a bit.

Unfortunately, it then fails to load pops with "loadmodule: fname rom0:UDNL args 5 arg crap:"
This commit is contained in:
ramapcsx2 2016-01-16 14:36:09 +01:00
parent d623453451
commit 20c8b89bb7
1 changed files with 2 additions and 1 deletions

View File

@ -1143,9 +1143,10 @@ u8 cdvdRead(u8 key)
default:
// note: notify the console since this is a potentially serious emulation problem:
// return -1 (all bits set) instead of 0, improves chances of the software being happy
PSXHW_LOG("*Unknown 8bit read at address 0x1f4020%x", key);
Console.Error( "IOP Unknown 8bit read from addr 0x1f4020%x", key );
return 0;
return -1;
}
}