summaryrefslogtreecommitdiff
path: root/ym2612.h
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2015-10-31 21:11:40 -0700
committerMichael Pavone <pavone@retrodev.com>2015-10-31 21:11:40 -0700
commitc29cc674cf4155f3377dbdb29193db9f7456a9fe (patch)
tree6e6b79a7bcf35ba2ba176726cc1c2d75b1708427 /ym2612.h
parent90e6a4b13a7afc6e035dc645bc89c86a951391ed (diff)
Small fix to how manual YM-2612 timer reloads work. Seems to better match a small test program and gets audio to match up in TM.EE's "I've got Italo Inside" track.
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 c05b073..8fbeb77 100644
--- a/ym2612.h
+++ b/ym2612.h
@@ -75,10 +75,11 @@ 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 timer_b;
+ uint8_t sub_timer_b;
+ uint8_t timer_b_load;
uint8_t ch3_mode;
uint8_t current_op;
uint8_t current_env_op;