aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornotaz2019-02-19 04:15:35 +0200
committerGitHub2019-02-19 04:15:35 +0200
commitecade89d73add8ed396855fc7aef91b2480f801f (patch)
tree3769d39215cc78c7e4fb559e62bb2d25823e6c4c
parentbebe989ba22f0bac230a0b8a75617ae895ea274f (diff)
parent23643ee736c1cba08ac3f16028d238e295bb9dc7 (diff)
downloadpcsx_rearmed-ecade89d73add8ed396855fc7aef91b2480f801f.tar.gz
pcsx_rearmed-ecade89d73add8ed396855fc7aef91b2480f801f.tar.bz2
pcsx_rearmed-ecade89d73add8ed396855fc7aef91b2480f801f.zip
Merge pull request #119 from gameblabla/piofix
psxmem: Reads of PIO Expansion area read all-ones.
-rw-r--r--libpcsxcore/psxmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpcsxcore/psxmem.c b/libpcsxcore/psxmem.c
index 14fd911..a1a641d 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);