From c7b771de6cfb1e432e72fb05fe01cad2147be314 Mon Sep 17 00:00:00 2001 From: kub Date: Wed, 24 Apr 2024 21:51:01 +0200 Subject: [PATCH] 32x, make sh2 sram poll detection less agressive --- pico/32x/memory.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pico/32x/memory.c b/pico/32x/memory.c index 2e7befe1..4b6d9b59 100644 --- a/pico/32x/memory.c +++ b/pico/32x/memory.c @@ -284,7 +284,7 @@ u32 REGPARM(3) p32x_sh2_poll_memory16(u32 a, u32 d, SH2 *sh2) d = (s16)sh2_poll_read(a, d, cycles, sh2); } - p32x_sh2_poll_detect(a, sh2, SH2_STATE_RPOLL, 5); + p32x_sh2_poll_detect(a, sh2, SH2_STATE_RPOLL, 7); DRC_RESTORE_SR(sh2); return d; @@ -305,7 +305,7 @@ u32 REGPARM(3) p32x_sh2_poll_memory32(u32 a, u32 d, SH2 *sh2) ((u16)sh2_poll_read(a+2, d, cycles, sh2)); } - p32x_sh2_poll_detect(a, sh2, SH2_STATE_RPOLL, 5); + p32x_sh2_poll_detect(a, sh2, SH2_STATE_RPOLL, 7); DRC_RESTORE_SR(sh2); return d; -- 2.39.5