mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Don't change height when keying off a voice.
Tests show that the height does not revert to the sustain level.
This commit is contained in:
parent
1a010a37ab
commit
d097ac5394
1 changed files with 0 additions and 3 deletions
|
@ -782,9 +782,6 @@ void ADSREnvelope::KeyOn() {
|
|||
|
||||
void ADSREnvelope::KeyOff() {
|
||||
SetState(STATE_RELEASE);
|
||||
// Does this really make sense? I don't think so, the release-decay should happen
|
||||
// from whatever level we are at, although the weirdo exponentials we have start at a fixed state :(
|
||||
height_ = sustainLevel;
|
||||
}
|
||||
|
||||
void ADSREnvelope::End() {
|
||||
|
|
Loading…
Add table
Reference in a new issue