From 3bb0d543ba0b9b29af022ce85851fabf76af3c46 Mon Sep 17 00:00:00 2001 From: Mike Pavone Date: Tue, 4 Jun 2013 21:23:12 -0700 Subject: Initial implementation of channel 3 special mode --- ym2612.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'ym2612.h') diff --git a/ym2612.h b/ym2612.h index e4b235c..a7f12c7 100644 --- a/ym2612.h +++ b/ym2612.h @@ -34,6 +34,13 @@ typedef struct { uint8_t lr; } 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; @@ -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; -- cgit v1.2.3