From: notaz Date: Tue, 5 Sep 2023 18:07:01 +0000 (+0300) Subject: fix irq10 for the dynarec X-Git-Tag: r24~164 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a004140ae8cfc83a3741efeed9ed867908d6a026;p=pcsx_rearmed.git fix irq10 for the dynarec libretro/pcsx_rearmed#723 --- diff --git a/libpcsxcore/r3000a.c b/libpcsxcore/r3000a.c index 9b479362..df627251 100644 --- a/libpcsxcore/r3000a.c +++ b/libpcsxcore/r3000a.c @@ -264,7 +264,7 @@ static void psxScheduleIrq10One(u32 cycles_abs) { psxRegs.interrupt |= 1 << PSXINT_IRQ10; psxRegs.intCycle[PSXINT_IRQ10].cycle = c; psxRegs.intCycle[PSXINT_IRQ10].sCycle = rcnts[3].cycleStart; - new_dyna_set_event(PSXINT_IRQ10, c); + new_dyna_set_event_abs(PSXINT_IRQ10, cycles_abs); } void irq10Interrupt() {