diff options
Diffstat (limited to 'fmdriver')
-rw-r--r-- | fmdriver/fmdriver_fmp.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fmdriver/fmdriver_fmp.c b/fmdriver/fmdriver_fmp.c index 8f2a7af..c57b975 100644 --- a/fmdriver/fmdriver_fmp.c +++ b/fmdriver/fmdriver_fmp.c @@ -2955,6 +2955,13 @@ static void fmp_init_parts(struct fmdriver_work *work, spart->u.ssg.env.decay_rate = 0xff;
spart->u.ssg.env.sustain_lv = 0xff;
spart->u.ssg.env.release_rate = 0x0a;
+ // not in original
+ spart->u.ssg.envbak.startvol = 0xff;
+ spart->u.ssg.envbak.attack_rate = 0xff;
+ spart->u.ssg.envbak.decay_rate = 0xff;
+ spart->u.ssg.envbak.sustain_lv = 0xff;
+ spart->u.ssg.envbak.release_rate = 0x0a;
+ // end
fpart->current_vol = 0x1a;
fpart->actual_vol = 0x1a;
spart->current_vol = 0x0e;
|