comparison 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
comparison
equal deleted inserted replaced
844:74e161fe7d39 845:3a18b5f63afc
73 uint32_t busy_cycles; 73 uint32_t busy_cycles;
74 ym_operator operators[NUM_OPERATORS]; 74 ym_operator operators[NUM_OPERATORS];
75 ym_channel channels[NUM_CHANNELS]; 75 ym_channel channels[NUM_CHANNELS];
76 uint16_t timer_a; 76 uint16_t timer_a;
77 uint16_t timer_a_load; 77 uint16_t timer_a_load;
78 uint16_t timer_b;
79 uint16_t timer_b_load;
80 uint16_t env_counter; 78 uint16_t env_counter;
81 ym_supp ch3_supp[3]; 79 ym_supp ch3_supp[3];
80 uint8_t timer_b;
81 uint8_t sub_timer_b;
82 uint8_t timer_b_load;
82 uint8_t ch3_mode; 83 uint8_t ch3_mode;
83 uint8_t current_op; 84 uint8_t current_op;
84 uint8_t current_env_op; 85 uint8_t current_env_op;
85 86
86 uint8_t timer_control; 87 uint8_t timer_control;