mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-23 20:51:14 +00:00
SCI: view class fix for hires views that are larger than 64k (fixes kq7 cel corruption)
svn-id: r47661
This commit is contained in:
parent
39ebb168a1
commit
981252b1fe
@ -212,8 +212,8 @@ void View::initData(GuiResourceId resourceId) {
|
||||
cel->displaceY = READ_LE_UINT16(celData + 6);
|
||||
cel->clearKey = celData[8];
|
||||
cel->offsetEGA = 0;
|
||||
cel->offsetRLE = READ_LE_UINT16(celData + 24);
|
||||
cel->offsetLiteral = READ_LE_UINT16(celData + 28);
|
||||
cel->offsetRLE = READ_LE_UINT32(celData + 24);
|
||||
cel->offsetLiteral = READ_LE_UINT32(celData + 28);
|
||||
cel->rawBitmap = 0;
|
||||
if (_loop[loopNo].mirrorFlag)
|
||||
cel->displaceX = -cel->displaceX;
|
||||
|
@ -34,8 +34,8 @@ struct CelInfo {
|
||||
int16 displaceY;
|
||||
byte clearKey;
|
||||
uint16 offsetEGA;
|
||||
uint16 offsetRLE;
|
||||
uint16 offsetLiteral;
|
||||
uint32 offsetRLE;
|
||||
uint32 offsetLiteral;
|
||||
byte *rawBitmap;
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user