diff ym2612.h @ 845:3a18b5f63afc

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.
author Michael Pavone <pavone@retrodev.com>
date Sat, 31 Oct 2015 21:11:40 -0700
parents 2317bdca03b4
children 7068a9db6dd0
line wrap: on
line diff
--- a/ym2612.h	Sat Oct 31 13:49:27 2015 -0700
+++ b/ym2612.h	Sat Oct 31 21:11:40 2015 -0700
@@ -75,10 +75,11 @@
 	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;