From: gameblabla Date: Sat, 2 Oct 2021 16:11:29 +0000 (+0200) Subject: OpenBus changes from PCSX-Redux X-Git-Tag: r24l~555^2~4 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e86be8089870396b497b1a0be9bc339719c94dda;p=pcsx_rearmed.git OpenBus changes from PCSX-Redux Co-authored-by: Nicolas Noble --- diff --git a/libpcsxcore/psxmem.c b/libpcsxcore/psxmem.c index db3a2dbc..c2bed4c2 100644 --- a/libpcsxcore/psxmem.c +++ b/libpcsxcore/psxmem.c @@ -276,7 +276,7 @@ u8 psxMemRead8(u32 mem) { #ifdef PSXMEM_LOG PSXMEM_LOG("err lb %8.8lx\n", mem); #endif - return 0; + return 0xFF; } } } @@ -301,7 +301,7 @@ u16 psxMemRead16(u32 mem) { #ifdef PSXMEM_LOG PSXMEM_LOG("err lh %8.8lx\n", mem); #endif - return 0; + return 0xFFFF; } } } @@ -326,7 +326,7 @@ u32 psxMemRead32(u32 mem) { #ifdef PSXMEM_LOG if (writeok) { PSXMEM_LOG("err lw %8.8lx\n", mem); } #endif - return 0; + return 0xFFFFFFFF; } } }