DSPHLE: fix volume in NTSC IPL ucode

This commit is contained in:
Tillmann Karras 2017-06-21 06:57:58 +01:00
parent 578ae3c8a1
commit b2a3827ecb

View File

@ -1269,7 +1269,7 @@ void ZeldaAudioRenderer::AddVoice(u16 voice_id)
// providing a target volume.
s16 volume_delta;
if (m_flags & VOLUME_EXPLICIT_STEP)
volume_delta = (vpb.channels[i].target_volume << 16);
volume_delta = vpb.channels[i].target_volume;
else
volume_delta = vpb.channels[i].target_volume - vpb.channels[i].current_volume;