diff options
| author | Matthew Hoops | 2012-08-16 13:30:32 -0400 |
|---|---|---|
| committer | Matthew Hoops | 2012-08-16 13:30:32 -0400 |
| commit | fb35c7f46f986a22235638e2946ba8492e735109 (patch) | |
| tree | df4a92a5f39b65ff4c5d3c4c8f8260429d1659a3 /engines/mohawk | |
| parent | 9e7f0e4753636ace510d626be4b0ee22ab682269 (diff) | |
| download | scummvm-rg350-fb35c7f46f986a22235638e2946ba8492e735109.tar.gz scummvm-rg350-fb35c7f46f986a22235638e2946ba8492e735109.tar.bz2 scummvm-rg350-fb35c7f46f986a22235638e2946ba8492e735109.zip | |
VIDEO: Remove setSystemPalette()
Diffstat (limited to 'engines/mohawk')
| -rw-r--r-- | engines/mohawk/video.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/mohawk/video.cpp b/engines/mohawk/video.cpp index 5b811382ff..13adfcb1cd 100644 --- a/engines/mohawk/video.cpp +++ b/engines/mohawk/video.cpp @@ -29,6 +29,7 @@ #include "common/textconsole.h" #include "common/system.h" +#include "graphics/palette.h" #include "graphics/surface.h" #include "video/qt_decoder.h" @@ -238,7 +239,7 @@ bool VideoManager::updateMovies() { frame = convertedFrame; } else if (pixelFormat.bytesPerPixel == 1 && _videoStreams[i]->hasDirtyPalette()) { // Set the palette when running in 8bpp mode only - _videoStreams[i]->setSystemPalette(); + _vm->_system->getPaletteManager()->setPalette(_videoStreams[i]->getPalette(), 0, 256); } // Clip the width/height to make sure we stay on the screen (Myst does this a few times) |
