cd: fix copy-paste bug, comm issue

This commit is contained in:
notaz 2013-09-23 00:45:33 +03:00
parent 021e47b375
commit 334d9fb654
4 changed files with 12 additions and 8 deletions

View file

@ -345,7 +345,9 @@ void pcd_state_loaded(void)
if (Pico_mcd->scd.Status_CDC & 0x08)
Update_CDC_TRansfer(Pico_mcd->s68k_regs[4] & 7);
}
if (Pico_mcd->pcm.update_cycles == 0)
diff = cycles - Pico_mcd->pcm.update_cycles;
if ((unsigned int)diff > 12500000/50)
Pico_mcd->pcm.update_cycles = cycles;
// reschedule