From 8fcf3e21b40fa3c92341371eef9d9353b910ba1b Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Mon, 27 Mar 2017 00:40:10 -0700 Subject: Initial implementation of YM2612 SSG-EG mode --- ym2612.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ym2612.h') diff --git a/ym2612.h b/ym2612.h index df2fe03..71a00fd 100644 --- a/ym2612.h +++ b/ym2612.h @@ -27,6 +27,8 @@ typedef struct { uint8_t detune; uint8_t am; uint8_t env_phase; + uint8_t ssg; + uint8_t inverted; } ym_operator; typedef struct { @@ -118,6 +120,7 @@ enum { REG_DECAY_AM = 0x60, REG_SUSTAIN_RATE = 0x70, REG_S_LVL_R_RATE = 0x80, + REG_SSG_EG = 0x90, REG_FNUM_LOW = 0xA0, REG_BLOCK_FNUM_H = 0xA4, -- cgit v1.2.3