mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-13 01:30:29 +01:00
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:
1 parent
d623453451
commit
20c8b89bb7
1 file changed
+2
-1
+2
-1
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user