Skip to content

Commit

Permalink
ZeldaHLE: fix windows build again
Browse files Browse the repository at this point in the history
  • Loading branch information
delroth committed Nov 30, 2014
1 parent ce5a6a4 commit d9836c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/Core/HW/DSPHLE/UCodes/Zelda.cpp
Expand Up @@ -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;
}
Expand Down

0 comments on commit d9836c8

Please sign in to comment.