mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 21:59:17 +00:00
Fixing my Lost in Time fixes
svn-id: r31020
This commit is contained in:
parent
918552ac0f
commit
85b61f3d10
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user