From c29cc674cf4155f3377dbdb29193db9f7456a9fe Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Sat, 31 Oct 2015 21:11:40 -0700 Subject: 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. --- ym2612.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ym2612.h') 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; -- cgit v1.2.3