diff options
author | Sven Hesse | 2008-03-01 15:13:06 +0000 |
---|---|---|
committer | Sven Hesse | 2008-03-01 15:13:06 +0000 |
commit | 85b61f3d1032fb5c70ce4a4e23a68b1dd05d2b8f (patch) | |
tree | 24d8a6f88bb70bd832ca4a5f55dbddbbccbcba34 | |
parent | 918552ac0f8d25d11f4cc40c042a34ae77d70940 (diff) | |
download | scummvm-rg350-85b61f3d1032fb5c70ce4a4e23a68b1dd05d2b8f.tar.gz scummvm-rg350-85b61f3d1032fb5c70ce4a4e23a68b1dd05d2b8f.tar.bz2 scummvm-rg350-85b61f3d1032fb5c70ce4a4e23a68b1dd05d2b8f.zip |
Fixing my Lost in Time fixes
svn-id: r31020
-rw-r--r-- | engines/gob/videoplayer.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/engines/gob/videoplayer.cpp b/engines/gob/videoplayer.cpp index 24ef145581..c3cecea318 100644 --- a/engines/gob/videoplayer.cpp +++ b/engines/gob/videoplayer.cpp @@ -162,7 +162,7 @@ bool VideoPlayer::openVideo(const char *video, int16 x, int16 y, int16 flags, Ty } else _video->setVideoMemory(); - _needBlit = (flags & kFlagUseBackSurfaceContent) != 0; + _needBlit = ((flags & kFlagUseBackSurfaceContent) != 0) && ((flags & kFlagFrontSurface) != 0); _video->enableSound(*_vm->_mixer); } @@ -216,7 +216,8 @@ void VideoPlayer::play(int16 startFrame, int16 lastFrame, int16 breakKey, fade = false; } - _video->waitEndFrame(); + if (!_noCursorSwitch) + _video->waitEndFrame(); startFrame++; } @@ -228,7 +229,8 @@ void VideoPlayer::play(int16 startFrame, int16 lastFrame, int16 breakKey, _vm->_palAnim->fade(0, -2, 0); memset((char *) _vm->_draw->_vgaPalette, 0, 768); } - _video->waitEndFrame(); + if (!_noCursorSwitch) + _video->waitEndFrame(); } } } |