aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sci/engine/kvideo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/kvideo.cpp b/engines/sci/engine/kvideo.cpp
index 0706da0d9e..6a411d8e23 100644
--- a/engines/sci/engine/kvideo.cpp
+++ b/engines/sci/engine/kvideo.cpp
@@ -48,8 +48,8 @@ void playVideo(Video::VideoDecoder *videoDecoder, VideoState videoState) {
uint16 width = videoDecoder->getWidth();
uint16 height = videoDecoder->getHeight();
uint16 pitch = videoDecoder->getWidth() * bytesPerPixel;
- uint16 screenWidth = g_system->getWidth();
- uint16 screenHeight = g_system->getHeight();
+ uint16 screenWidth = g_sci->_gfxScreen->getDisplayWidth();
+ uint16 screenHeight = g_sci->_gfxScreen->getDisplayHeight();
videoState.fileName.toLowercase();
bool isVMD = videoState.fileName.hasSuffix(".vmd");