X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=inline;f=pico%2Fpico_cmn.c;h=e2ec0e1ab057d537d8e3cc1e37bf481b991c24d1;hb=ecc8036ee27ec57454c3fe736a71dd9c0cbcf3de;hp=5ce13aaeaadd7339e96d38fc85d5314d746cf52e;hpb=53f948c9014404685aaacce497755794c25bc5b6;p=picodrive.git diff --git a/pico/pico_cmn.c b/pico/pico_cmn.c index 5ce13aa..e2ec0e1 100644 --- a/pico/pico_cmn.c +++ b/pico/pico_cmn.c @@ -203,6 +203,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) line_base_cycles = SekCyclesDone(); + if (Pico.m.dma_xfers) SekCyclesBurn(CheckDMA()); CPUS_RUN(CYCLES_M68K_VINT_LAG); if (pv->reg[1]&0x20) { @@ -234,7 +235,6 @@ static int PicoFrameHints(void) } // Run scanline: - if (Pico.m.dma_xfers) SekCyclesBurn(CheckDMA()); CPUS_RUN(CYCLES_M68K_LINE - CYCLES_M68K_VINT_LAG - CYCLES_M68K_ASD); if (PicoLineHook) PicoLineHook();