DSPHLE: fix volume in NTSC IPL ucode
This commit is contained in:
parent
578ae3c8a1
commit
b2a3827ecb
|
@ -1269,7 +1269,7 @@ void ZeldaAudioRenderer::AddVoice(u16 voice_id)
|
||||||
// providing a target volume.
|
// providing a target volume.
|
||||||
s16 volume_delta;
|
s16 volume_delta;
|
||||||
if (m_flags & VOLUME_EXPLICIT_STEP)
|
if (m_flags & VOLUME_EXPLICIT_STEP)
|
||||||
volume_delta = (vpb.channels[i].target_volume << 16);
|
volume_delta = vpb.channels[i].target_volume;
|
||||||
else
|
else
|
||||||
volume_delta = vpb.channels[i].target_volume - vpb.channels[i].current_volume;
|
volume_delta = vpb.channels[i].target_volume - vpb.channels[i].current_volume;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue