mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-27 13:42:02 +00:00
SHERLOCK: Fix compilation for gcc
This commit is contained in:
parent
239562fc01
commit
4af7b58e94
@ -86,7 +86,7 @@ byte Sound::decodeSample(byte sample, byte& reference, int16& scale) {
|
||||
int16 ref = 0;
|
||||
|
||||
// clip bad ADPCM-4 sample
|
||||
CLIP(samp, 0, 63);
|
||||
CLIP<int16>(samp, 0, 63);
|
||||
|
||||
ref = reference + creativeADPCM_ScaleMap[samp];
|
||||
if (ref > 0xff) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user