From: kub Date: Tue, 21 Sep 2021 20:23:01 +0000 (+0200) Subject: core, fix sram access in ssf2 mapper X-Git-Tag: v2.00~488 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e370f4d6ad0f26c6a62015e78a549017fae0a737;p=picodrive.git core, fix sram access in ssf2 mapper credits go to madmonkey1907 for finding this --- diff --git a/pico/carthw/carthw.c b/pico/carthw/carthw.c index 0cadacda..c6d89936 100644 --- a/pico/carthw/carthw.c +++ b/pico/carthw/carthw.c @@ -35,7 +35,7 @@ void carthw_ssf2_write8(u32 a, u32 d) { u32 target, base; - if ((a & ~0x0e) != 0xa130f1) { + if ((a & ~0x0e) != 0xa130f1 || a == 0xa130f1) { PicoWrite8_io(a, d); return; }