diff options
author | Matthew Hoops | 2011-02-20 11:47:52 -0500 |
---|---|---|
committer | Matthew Hoops | 2011-02-20 12:44:59 -0500 |
commit | 257bae431ac7e9a966e0cc1e41c7f10dc0125092 (patch) | |
tree | 3c0b3fba71d08eb72d470f2d51876d7b17236b3d | |
parent | dceb1391cb92126891b805494b4645272c7fddbe (diff) | |
download | scummvm-rg350-257bae431ac7e9a966e0cc1e41c7f10dc0125092.tar.gz scummvm-rg350-257bae431ac7e9a966e0cc1e41c7f10dc0125092.tar.bz2 scummvm-rg350-257bae431ac7e9a966e0cc1e41c7f10dc0125092.zip |
SCI: Fix KQ6 Mac video positioning
-rw-r--r-- | engines/sci/engine/kvideo.cpp | 4 |
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"); |