SPU: Fix incorrect step value in attack phase

This commit is contained in:
Connor McLaughlin 2019-11-16 01:43:34 +10:00
parent a47492382c
commit 2399c1dab7
1 changed files with 1 additions and 1 deletions

View File

@ -669,7 +669,7 @@ void SPU::Voice::SetADSRPhase(ADSRPhase phase)
case ADSRPhase::Attack:
adsr_target.level = 32767; // 0 -> max
adsr_target.step = regs.adsr.attack_step + 4;
adsr_target.step = regs.adsr.attack_step;
adsr_target.shift = regs.adsr.attack_shift;
adsr_target.decreasing = false;
adsr_target.exponential = regs.adsr.attack_exponential;