X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=pico%2F32x%2Fpwm.c;h=7e39931b97d3100533ee6637e030e6687510041c;hb=4d5dfee86139e1596228db111ce2f30c22c93ddd;hp=dc7c4d6b99ee550227219635b6a6c4e288f23029;hpb=34280f9b424dc3964e3c3e1cfd2cd18c8041b5d8;p=picodrive.git diff --git a/pico/32x/pwm.c b/pico/32x/pwm.c index dc7c4d6..7e39931 100644 --- a/pico/32x/pwm.c +++ b/pico/32x/pwm.c @@ -31,7 +31,7 @@ void p32x_pwm_ctl_changed(void) static void do_pwm_irq(unsigned int m68k_cycles) { Pico32x.sh2irqs |= P32XI_PWM; - p32x_update_irls(NULL); + p32x_update_irls(NULL, m68k_cycles); if (Pico32x.regs[0x30 / 2] & P32XP_RTP) { p32x_event_schedule(m68k_cycles, P32X_EVENT_PWM, pwm_cycles / 3 + 1);