mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-09 04:16:34 +00:00
Little WSA loading fix.
svn-id: r26375
This commit is contained in:
parent
8b63337ce0
commit
e8b6baca74
@ -146,7 +146,7 @@ void WSAMovieV1::displayFrame(int frameNum) {
|
||||
if (_flags & WF_OFFSCREEN_DECODE) {
|
||||
Screen::decodeFrameDelta(dst, _deltaBuffer);
|
||||
} else {
|
||||
Screen::decodeFrameDeltaPage(dst, _deltaBuffer, _width, true);
|
||||
Screen::decodeFrameDeltaPage(dst, _deltaBuffer, _width, (_flags & WF_XOR) == 0);
|
||||
}
|
||||
}
|
||||
_currentFrame = 0;
|
||||
@ -384,9 +384,8 @@ int WSAMovieV2::open(const char *filename, int unk1, uint8 *palBuf) {
|
||||
}
|
||||
}
|
||||
|
||||
if (flags & 2) {
|
||||
_flags |= WF_MASKED_BLIT;
|
||||
}
|
||||
if (flags & 2)
|
||||
_flags |= WF_XOR;
|
||||
|
||||
if (!(unk1 & 2)) {
|
||||
_flags |= WF_OFFSCREEN_DECODE;
|
||||
|
@ -71,10 +71,10 @@ public:
|
||||
virtual void displayFrame(int frameNum);
|
||||
|
||||
enum WSAFlags {
|
||||
WF_MASKED_BLIT = 0x1,
|
||||
WF_OFFSCREEN_DECODE = 0x10,
|
||||
WF_NO_FIRST_FRAME = 0x40,
|
||||
WF_HAS_PALETTE = 0x100
|
||||
WF_HAS_PALETTE = 0x100,
|
||||
WF_XOR = 0x200
|
||||
};
|
||||
|
||||
protected:
|
||||
|
Loading…
x
Reference in New Issue
Block a user