Mercurial > repos > blastem
diff ym2612.h @ 403:f0a3f86595ae
Fix YM2612 timers
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 16 Jun 2013 00:56:23 -0700 |
parents | 72933100c55c |
children | c3abc4ada43d |
line wrap: on
line diff
--- a/ym2612.h Sat Jun 15 23:50:59 2013 -0700 +++ b/ym2612.h Sun Jun 16 00:56:23 2013 -0700 @@ -55,13 +55,14 @@ ym_channel channels[NUM_CHANNELS]; uint16_t timer_a; uint16_t timer_a_load; + uint16_t timer_b; + uint16_t timer_b_load; uint16_t env_counter; ym_supp ch3_supp[3]; uint8_t ch3_mode; uint8_t current_op; uint8_t current_env_op; - uint8_t timer_b; - uint8_t timer_b_load; + uint8_t timer_control; uint8_t dac_enable; uint8_t status;