mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 13:50:13 +00:00
SHERLOCK: Fix compilation
This commit is contained in:
parent
8fea0be1bd
commit
b58896b9a8
@ -107,12 +107,12 @@ void ImageFile::load(Common::SeekableReadStream &stream, bool skipPalette, bool
|
||||
// the titles is unclear but skipping it seems to have no ill effect.
|
||||
// Just skip it.
|
||||
if (frame._width > 32768) {
|
||||
frame._width = -(int16_t)frame._width;
|
||||
frame._width = -(int16)frame._width;
|
||||
invalid = true;
|
||||
}
|
||||
|
||||
if (frame._height > 32768) {
|
||||
frame._height = -(int16_t)frame._height;
|
||||
frame._height = -(int16)frame._height;
|
||||
invalid = true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user