mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-11 03:34:13 +00:00
SCUMM: Fix compilation with MSVC
This commit is contained in:
parent
3bf8584199
commit
c5948672ff
@ -714,7 +714,7 @@ void SmushPlayer::handleDeltaPalette(int32 subSize, Common::SeekableReadStream &
|
||||
for (int i = 0; i < 768; ++i) {
|
||||
_shiftedDeltaPal[i] += _deltaPal[i];
|
||||
|
||||
_pal[i] = CLIP(_shiftedDeltaPal[i] >> 7, 0, 255);
|
||||
_pal[i] = CLIP<int32>(_shiftedDeltaPal[i] >> 7, 0, 255);
|
||||
}
|
||||
|
||||
setDirtyColors(0, 255);
|
||||
|
Loading…
Reference in New Issue
Block a user