summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2014-11-30 02:23:55 +0100
committerPierre Bourdon <delroth@gmail.com>2015-08-14 16:01:28 +0200
commit33c29d8aab080d619edcbd264b3bb38c61e56dd1 (patch)
treeb4fcae9c86ec3d59cb3eae8baf9a97b8d2c80282 /Source/Core
parentb62f1ed45389ef50909de72e4a02333fdf736687 (diff)
ZeldaHLE: fix windows build again
Diffstat (limited to 'Source/Core')
-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 2b8f4e37bd..aacd1368ec 100644
--- a/Source/Core/Core/HW/DSPHLE/UCodes/Zelda.cpp
+++ b/Source/Core/Core/HW/DSPHLE/UCodes/Zelda.cpp
@@ -774,7 +774,7 @@ void ZeldaAudioRenderer::Resample(VPB* vpb, const s16* src, MixingBuffer* dst)
dst_sample_unclamped += (s64)2 * coeffs[i] * input[i];
dst_sample_unclamped >>= 16;
MathUtil::Clamp(&dst_sample_unclamped, (s64)-0x8000, (s64)0x7fff);
- dst_sample = dst_sample_unclamped;
+ dst_sample = (s16)dst_sample_unclamped;
pos += ratio;
}