diff options
author | Michael Pavone <pavone@retrodev.com> | 2015-10-31 21:11:40 -0700 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2015-10-31 21:11:40 -0700 |
commit | c29cc674cf4155f3377dbdb29193db9f7456a9fe (patch) | |
tree | 6e6b79a7bcf35ba2ba176726cc1c2d75b1708427 /ym2612.h | |
parent | 90e6a4b13a7afc6e035dc645bc89c86a951391ed (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.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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; |