summaryrefslogtreecommitdiff
path: root/ym2612.h
diff options
context:
space:
mode:
Diffstat (limited to 'ym2612.h')
-rw-r--r--ym2612.h3
1 files changed, 3 insertions, 0 deletions
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,