mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
32x: some accuracy improvements
This commit is contained in:
parent
34280f9b42
commit
4d5dfee861
4 changed files with 20 additions and 16 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue