From 33c29d8aab080d619edcbd264b3bb38c61e56dd1 Mon Sep 17 00:00:00 2001 From: Pierre Bourdon Date: Sun, 30 Nov 2014 02:23:55 +0100 Subject: [PATCH] ZeldaHLE: fix windows build again --- Source/Core/Core/HW/DSPHLE/UCodes/Zelda.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }