From 9f1b152fe29c756488617a8e495241350656c675 Mon Sep 17 00:00:00 2001 From: kub Date: Fri, 26 Nov 2021 20:30:58 +0100 Subject: [PATCH] 32x, fix poll detection regression (mars check) --- 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 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; } -- 2.39.5