From 23643ee736c1cba08ac3f16028d238e295bb9dc7 Mon Sep 17 00:00:00 2001 From: gameblabla Date: Sun, 17 Feb 2019 09:26:51 +0100 Subject: [PATCH] psxmem: Reads of PIO Expansion area read all-ones. Patch by senquack : "Fixes 'Tetris with Card Captor Sakura - Eternal Heart (Japan)' startup. Thanks to gameblabla for finding this issue and pointing out that Mednafen had a fix for it. It's adapted here in a much simpler form." --- libpcsxcore/psxmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libpcsxcore/psxmem.c b/libpcsxcore/psxmem.c index 14fd9113..a1a641df 100644 --- a/libpcsxcore/psxmem.c +++ b/libpcsxcore/psxmem.c @@ -187,7 +187,7 @@ void psxMemReset() { char bios[1024]; memset(psxM, 0, 0x00200000); - memset(psxP, 0, 0x00010000); + memset(psxP, 0xff, 0x00010000); if (strcmp(Config.Bios, "HLE") != 0) { sprintf(bios, "%s/%s", Config.BiosDir, Config.Bios); -- 2.39.2