summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorTillmann Karras <tilkax@gmail.com>2017-06-21 06:57:58 +0100
committerTillmann Karras <tilkax@gmail.com>2017-06-21 06:57:58 +0100
commitb2a3827ecb646cfd3286e6b4eda518cd9865b1d7 (patch)
treec014518ca68174b776f7425d154fd76a67bd6acf /Source
parent578ae3c8a1a6b98ffa9cb2397961829ad4f9bf5c (diff)
DSPHLE: fix volume in NTSC IPL ucode
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/Core/HW/DSPHLE/UCodes/Zelda.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Core/HW/DSPHLE/UCodes/Zelda.cpp b/Source/Core/Core/HW/DSPHLE/UCodes/Zelda.cpp
index 92f0e66ee3..dc051a6a24 100644
--- a/Source/Core/Core/HW/DSPHLE/UCodes/Zelda.cpp
+++ b/Source/Core/Core/HW/DSPHLE/UCodes/Zelda.cpp
@@ -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;