bugfixes, state load for new mode

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@468 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2008-05-27 21:38:46 +00:00
parent 538a6098d4
commit 453d2a6eda
9 changed files with 32 additions and 44 deletions

View file

@ -479,6 +479,7 @@ extern int timer_a_next_oflow, timer_a_step, timer_a_offset; // in z80 cycles
extern int timer_b_next_oflow, timer_b_step, timer_b_offset;
void ym2612_sync_timers(int z80_cycles, int mode_old, int mode_new);
void ym2612_unpack_state(void);
#define timers_cycle() \
if (timer_a_next_oflow > 0 && timer_a_next_oflow < 0x70000000) \