1
0
Fork 0
mirror of https://github.com/melonDS-emu/melonDS.git synced 2025-03-06 21:00:31 +01:00

fix a timestamp

This commit is contained in:
Jaklyy 2024-12-23 12:47:15 -05:00
parent 03dc0c4284
commit 9981a6b98f

View file

@ -1279,6 +1279,7 @@ void DSi::ApplyNewRAMSize(u32 size)
void DSi::Set_SCFG_Clock9(u16 val)
{
ARM9Timestamp >>= ARM9ClockShift;
DMA9Timestamp >>= ARM9ClockShift;
ARM9Target >>= ARM9ClockShift;
for (int i = 0; i < 7; i++)
{
@ -1301,6 +1302,7 @@ void DSi::Set_SCFG_Clock9(u16 val)
else ARM9ClockShift = 1;
ARM9Timestamp <<= ARM9ClockShift;
DMA9Timestamp <<= ARM9ClockShift;
ARM9Target <<= ARM9ClockShift;
for (int i = 0; i < 7; i++)
{