diff options
author | Mike Pavone <pavone@retrodev.com> | 2013-06-04 21:23:12 -0700 |
---|---|---|
committer | Mike Pavone <pavone@retrodev.com> | 2013-06-04 21:23:12 -0700 |
commit | 3bb0d543ba0b9b29af022ce85851fabf76af3c46 (patch) | |
tree | 0bc285a59a04bec306006dca8f099e5f0d4b27b8 /ym2612.h | |
parent | eeb6f19cbe0c3cdef9067b37a2af085e97ad6d8e (diff) |
Initial implementation of channel 3 special mode
Diffstat (limited to 'ym2612.h')
-rw-r--r-- | ym2612.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -35,6 +35,13 @@ typedef struct { } ym_channel; typedef struct { + uint16_t fnum; + uint8_t block; + uint8_t block_fnum_latch; + uint8_t keycode; +} ym_supp; + +typedef struct { int16_t *audio_buffer; int16_t *back_buffer; double buffer_fraction; @@ -49,6 +56,8 @@ typedef struct { uint16_t timer_a; uint16_t timer_a_load; uint16_t env_counter; + ym_supp ch3_supp[3]; + uint8_t ch3_mode; uint8_t current_op; uint8_t current_env_op; uint8_t timer_b; |