mcd, fix for slave polling detection

This commit is contained in:
kub 2020-11-19 00:02:03 +01:00
parent 9f01ce95ae
commit ed9c0413ee

View file

@ -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;