summaryrefslogtreecommitdiff
path: root/ym2612.h
diff options
context:
space:
mode:
authorMike Pavone <pavone@retrodev.com>2013-06-16 00:56:23 -0700
committerMike Pavone <pavone@retrodev.com>2013-06-16 00:56:23 -0700
commit7d40d4c453486589b62f24329b4d33e9290840cf (patch)
tree52719a2a962663df7f8dcc69d2d4259d32b13283 /ym2612.h
parent4f485a73fea7918ce60bc842da5de0120934a6c4 (diff)
Fix YM2612 timers
Diffstat (limited to 'ym2612.h')
-rw-r--r--ym2612.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/ym2612.h b/ym2612.h
index a7f12c7..41182d0 100644
--- a/ym2612.h
+++ b/ym2612.h
@@ -55,13 +55,14 @@ typedef struct {
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;