mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 00:59:44 -06:00
DSPHLE: fix volume in NTSC IPL ucode
This commit is contained in:
@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user