aboutsummaryrefslogtreecommitdiff
path: root/libpcsxcore
diff options
context:
space:
mode:
authorTwinaphex2019-03-07 13:49:27 +0100
committerGitHub2019-03-07 13:49:27 +0100
commit3733c6fefd2bcc15a637139c036518762aa5956b (patch)
tree71687aabbfca55d2242909a8dcdf9c77cd4dfe8e /libpcsxcore
parent8569f7c3abe705930306d7537cc0f7e53e63bc19 (diff)
parentecade89d73add8ed396855fc7aef91b2480f801f (diff)
downloadpcsx_rearmed-3733c6fefd2bcc15a637139c036518762aa5956b.tar.gz
pcsx_rearmed-3733c6fefd2bcc15a637139c036518762aa5956b.tar.bz2
pcsx_rearmed-3733c6fefd2bcc15a637139c036518762aa5956b.zip
Merge pull request #234 from notaz/master
psxmem: Reads of PIO Expansion area read all-ones.
Diffstat (limited to 'libpcsxcore')
-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);