diff options
author | Filippos Karapetis | 2018-12-27 15:02:51 +0200 |
---|---|---|
committer | Filippos Karapetis | 2018-12-27 15:03:22 +0200 |
commit | 27699a2e71877ae4ccc4497b7a69c483672e0d95 (patch) | |
tree | 6b2ad36906ea8dc705c1f00167b7e83464f412a9 /engines/sci/graphics | |
parent | 52c66f5efdc236fde511431595ee3e44a4415b12 (diff) | |
download | scummvm-rg350-27699a2e71877ae4ccc4497b7a69c483672e0d95.tar.gz scummvm-rg350-27699a2e71877ae4ccc4497b7a69c483672e0d95.tar.bz2 scummvm-rg350-27699a2e71877ae4ccc4497b7a69c483672e0d95.zip |
SCI32: Fix regression in VMD player
Diffstat (limited to 'engines/sci/graphics')
-rw-r--r-- | engines/sci/graphics/video32.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/graphics/video32.cpp b/engines/sci/graphics/video32.cpp index 8849e985c6..b7b3c9ed78 100644 --- a/engines/sci/graphics/video32.cpp +++ b/engines/sci/graphics/video32.cpp @@ -573,7 +573,7 @@ VMDPlayer::IOStatus VMDPlayer::open(const Common::String &fileName, const OpenFl void VMDPlayer::init(int16 x, int16 y, const PlayFlags flags, const int16 boostPercent, const int16 boostStartColor, const int16 boostEndColor) { const int16 screenWidth = g_sci->_gfxFrameout->getScreenWidth(); const int16 screenHeight = g_sci->_gfxFrameout->getScreenHeight(); - const bool upscaleVideos = ConfMan.getBool("enable_video_upscale"); + const bool upscaleVideos = ConfMan.hasKey("enable_video_upscale") ? ConfMan.getBool("enable_video_upscale") : false; _doublePixels = (flags & kPlayFlagDoublePixels) || upscaleVideos; _stretchVertical = flags & kPlayFlagStretchVertical; |