From e370f4d6ad0f26c6a62015e78a549017fae0a737 Mon Sep 17 00:00:00 2001 From: kub Date: Tue, 21 Sep 2021 22:23:01 +0200 Subject: [PATCH] core, fix sram access in ssf2 mapper credits go to madmonkey1907 for finding this --- pico/carthw/carthw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.2