From 4a7dee9321f085f9f994a0d95e6f2190d984a2cd Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Sat, 25 Mar 2017 15:41:52 -0700 Subject: Basic implementation of CSM mode that should handle documented edge cases. Dodesn't handle the weird undocumented edge cases I don't have a good understanding of yet though --- ym2612.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ym2612.h') diff --git a/ym2612.h b/ym2612.h index 84f1517..df2fe03 100644 --- a/ym2612.h +++ b/ym2612.h @@ -42,6 +42,7 @@ typedef struct { uint8_t ams; uint8_t pms; uint8_t lr; + uint8_t keyon; } ym_channel; typedef struct { @@ -93,6 +94,7 @@ typedef struct { uint8_t lfo_counter; uint8_t lfo_am_step; uint8_t lfo_pm_step; + uint8_t csm_keyon; uint8_t status; uint8_t selected_reg; uint8_t selected_part; -- cgit v1.2.3