From: kub Date: Wed, 24 Apr 2024 19:51:01 +0000 (+0200) Subject: 32x, make sh2 sram poll detection less agressive X-Git-Tag: v2.00~74 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7b771de6cfb1e432e72fb05fe01cad2147be314;p=picodrive.git 32x, make sh2 sram poll detection less agressive --- 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;