mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 06:08:35 +00:00
GOB: Force live videos onto the backSurface
Fixes some inventory list uglyness in live videos. It still flickers when mousing over it though, and keeps popping when mousing over the register during the hotel scene svn-id: r55429
This commit is contained in:
parent
7dd28c024a
commit
2bb8cf25df
@ -87,6 +87,9 @@ void VideoPlayer::evaluateFlags(Properties &properties) {
|
||||
} else {
|
||||
properties.sprite = Draw::kBackSurface;
|
||||
}
|
||||
|
||||
if (properties.noBlock && (properties.sprite == Draw::kFrontSurface))
|
||||
properties.sprite = Draw::kBackSurface;
|
||||
}
|
||||
|
||||
int VideoPlayer::openVideo(bool primary, const Common::String &file, Properties &properties) {
|
||||
@ -314,8 +317,6 @@ void VideoPlayer::updateLive(bool force) {
|
||||
|
||||
if (!_liveProperties.loop) {
|
||||
WRITE_VAR_OFFSET(212, (uint32)-1);
|
||||
if (video->surface == _vm->_draw->_frontSurface)
|
||||
_vm->_draw->forceBlit(true);
|
||||
_vm->_vidPlayer->closeVideo();
|
||||
return;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user