Skip to content

Commit

Permalink
core, fix bug in m68k state saving
Browse files Browse the repository at this point in the history
thanks to bnister for pointing this out
  • Loading branch information
irixxxx committed Oct 26, 2023
1 parent ec03575 commit df765ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pico/sek.c
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ PICO_INTERNAL void SekPackCpu(unsigned char *cpu, int is_sub)
*(s16 *)(cpu+0x4e) = SekCycleCntS68k - SekCycleAimS68k;
} else {
*(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;
}
}

Expand Down

0 comments on commit df765ed

Please sign in to comment.