From e86be8089870396b497b1a0be9bc339719c94dda Mon Sep 17 00:00:00 2001 From: gameblabla Date: Sat, 2 Oct 2021 18:11:29 +0200 Subject: [PATCH] OpenBus changes from PCSX-Redux Co-authored-by: Nicolas Noble --- libpcsxcore/psxmem.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; } } } -- 2.39.5