mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
fix yet another sync issue..
This commit is contained in:
parent
7b3ddc11dc
commit
6901d0e45d
3 changed files with 54 additions and 16 deletions
|
@ -67,6 +67,12 @@ static void remap_word_ram(u32 r3);
|
|||
void m68k_comm_check(u32 a)
|
||||
{
|
||||
pcd_sync_s68k(SekCyclesDone(), 0);
|
||||
if (a >= 0x0e && !Pico_mcd->m.need_sync) {
|
||||
// there are cases when slave updates comm and only switches RAM
|
||||
// over after that (mcd1b), so there must be a resync..
|
||||
SekEndRun(64);
|
||||
Pico_mcd->m.need_sync = 1;
|
||||
}
|
||||
if (SekNotPolling || a != Pico_mcd->m.m68k_poll_a) {
|
||||
Pico_mcd->m.m68k_poll_a = a;
|
||||
Pico_mcd->m.m68k_poll_cnt = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue