From: kub Date: Fri, 26 Nov 2021 19:30:58 +0000 (+0100) Subject: 32x, fix poll detection regression (mars check) X-Git-Tag: v2.00~404 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f1b152fe29c756488617a8e495241350656c675;p=picodrive.git 32x, fix poll detection regression (mars check) --- diff --git a/pico/32x/memory.c b/pico/32x/memory.c index 9ce7eefd..d2d2a5b3 100644 --- a/pico/32x/memory.c +++ b/pico/32x/memory.c @@ -1461,7 +1461,7 @@ static u32 REGPARM(2) sh2_read8_cs0(u32 a, SH2 *sh2) if ((a & 0x3fff0) == 0x4100) { d = p32x_vdp_read16(a); - p32x_sh2_poll_detect(a, sh2, SH2_STATE_VPOLL, 7); + p32x_sh2_poll_detect(a, sh2, SH2_STATE_VPOLL, 9); goto out_16to8; } @@ -1524,7 +1524,7 @@ static u32 REGPARM(2) sh2_read16_cs0(u32 a, SH2 *sh2) if ((a & 0x3fff0) == 0x4100) { d = p32x_vdp_read16(a); - p32x_sh2_poll_detect(a, sh2, SH2_STATE_VPOLL, 7); + p32x_sh2_poll_detect(a, sh2, SH2_STATE_VPOLL, 9); goto out; }