From: kub Date: Tue, 15 Feb 2022 22:15:12 +0000 (+0000) Subject: core vdp, fix regression after last commit X-Git-Tag: v2.00~344 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=099f68c22ad58c9c3a60ba16c4065053273ae337;p=picodrive.git core vdp, fix regression after last commit --- diff --git a/pico/pico_cmn.c b/pico/pico_cmn.c index ab581ed4..2bfd1a99 100644 --- a/pico/pico_cmn.c +++ b/pico/pico_cmn.c @@ -185,6 +185,7 @@ static int PicoFrameHints(void) // also delay between F bit (bit 7) is set in SR and IRQ happens (Ex-Mutants) // also delay between last H-int and V-int (Golden Axe 3) Pico.t.m68c_line_start = Pico.t.m68c_aim; + PicoVideoFIFOMode(pv->reg[1]&0x40, pv->reg[12]&1); do_timing_hacks_start(pv); CPUS_RUN(CYCLES_M68K_VINT_LAG); @@ -288,6 +289,7 @@ static int PicoFrameHints(void) // Run scanline: Pico.t.m68c_line_start = Pico.t.m68c_aim; + PicoVideoFIFOMode(pv->reg[1]&0x40, pv->reg[12]&1); do_timing_hacks_start(pv); CPUS_RUN(CYCLES_M68K_LINE); do_timing_hacks_end(pv);