mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-09 20:34:12 +00:00
Fix bug #1258479 "ITE: Graphical glitches in wildcat tribe"
svn-id: r18688
This commit is contained in:
parent
5cca832a85
commit
7aa7430c41
@ -145,8 +145,8 @@ void Sprite::getScaledSpriteBuffer(SpriteList &spriteList, int spriteNumber, int
|
||||
if (scale < 256) {
|
||||
xAlign = (spriteInfo->xAlign * scale) >> 8;
|
||||
yAlign = (spriteInfo->yAlign * scale) >> 8;
|
||||
height = (spriteInfo->height * scale + 0x80) >> 8;
|
||||
width = (spriteInfo->width * scale + 0x80) >> 8;
|
||||
height = (spriteInfo->height * scale + 0x7f) >> 8;
|
||||
width = (spriteInfo->width * scale + 0x7f) >> 8;
|
||||
scaleBuffer(spriteInfo->decodedBuffer, spriteInfo->width, spriteInfo->height, scale);
|
||||
buffer = _decodeBuf;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user