Mercurial > repos > blastem
diff ym2612.h @ 383:72933100c55c
Initial implementation of channel 3 special mode
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Tue, 04 Jun 2013 21:23:12 -0700 |
parents | 1c8d74f2ab0b |
children | f0a3f86595ae |
line wrap: on
line diff
--- a/ym2612.h Tue Jun 04 09:16:41 2013 -0700 +++ b/ym2612.h Tue Jun 04 21:23:12 2013 -0700 @@ -35,6 +35,13 @@ } 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 @@ 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;