core, fix sram access in ssf2 mapper

credits go to madmonkey1907 for finding this
This commit is contained in:
kub 2021-09-21 22:23:01 +02:00
parent 54e514e85d
commit e370f4d6ad

View file

@ -35,7 +35,7 @@ void carthw_ssf2_write8(u32 a, u32 d)
{ {
u32 target, base; u32 target, base;
if ((a & ~0x0e) != 0xa130f1) { if ((a & ~0x0e) != 0xa130f1 || a == 0xa130f1) {
PicoWrite8_io(a, d); PicoWrite8_io(a, d);
return; return;
} }