From 27699a2e71877ae4ccc4497b7a69c483672e0d95 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Thu, 27 Dec 2018 15:02:51 +0200 Subject: SCI32: Fix regression in VMD player --- engines/sci/graphics/video32.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/sci') 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; -- cgit v1.2.3