From: kub Date: Wed, 18 Nov 2020 23:02:03 +0000 (+0100) Subject: mcd, fix for slave polling detection X-Git-Tag: v2.00~658 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed9c0413eea8121cd701cd7333678e8b104163dc;p=picodrive.git mcd, fix for slave polling detection --- diff --git a/pico/cd/memory.c b/pico/cd/memory.c index e6486840..27925b58 100644 --- a/pico/cd/memory.c +++ b/pico/cd/memory.c @@ -248,7 +248,7 @@ u32 s68k_poll_detect(u32 a, u32 d) return d; cycles = SekCyclesDoneS68k(); - if (!SekNotPolling && a == Pico_mcd->m.s68k_poll_a) { + if (!SekNotPollingS68k && a == Pico_mcd->m.s68k_poll_a) { u32 clkdiff = cycles - Pico_mcd->m.s68k_poll_clk; if (clkdiff <= POLL_CYCLES) { cnt = Pico_mcd->m.s68k_poll_cnt + 1;