mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
core, fix bug in m68k state saving
thanks to bnister for pointing this out
This commit is contained in:
parent
ec0357587e
commit
df765ed91b
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@ PICO_INTERNAL void SekPackCpu(unsigned char *cpu, int is_sub)
|
||||||
*(s16 *)(cpu+0x4e) = SekCycleCntS68k - SekCycleAimS68k;
|
*(s16 *)(cpu+0x4e) = SekCycleCntS68k - SekCycleAimS68k;
|
||||||
} else {
|
} else {
|
||||||
*(u32 *)(cpu+0x50) = Pico.t.m68c_cnt;
|
*(u32 *)(cpu+0x50) = Pico.t.m68c_cnt;
|
||||||
*(u32 *)(cpu+0x4e) = Pico.t.m68c_cnt - Pico.t.m68c_aim;
|
*(s16 *)(cpu+0x4e) = Pico.t.m68c_cnt - Pico.t.m68c_aim;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue