mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
cd: fix copy-paste bug, comm issue
This commit is contained in:
parent
021e47b375
commit
334d9fb654
4 changed files with 12 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue