From 257bae431ac7e9a966e0cc1e41c7f10dc0125092 Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Sun, 20 Feb 2011 11:47:52 -0500 Subject: SCI: Fix KQ6 Mac video positioning --- engines/sci/engine/kvideo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/sci/engine/kvideo.cpp') 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"); -- cgit v1.2.3