aboutsummaryrefslogtreecommitdiff
path: root/engines/saga
diff options
context:
space:
mode:
authorMatthew Hoops2012-08-16 13:30:32 -0400
committerMatthew Hoops2012-08-16 13:30:32 -0400
commitfb35c7f46f986a22235638e2946ba8492e735109 (patch)
treedf4a92a5f39b65ff4c5d3c4c8f8260429d1659a3 /engines/saga
parent9e7f0e4753636ace510d626be4b0ee22ab682269 (diff)
downloadscummvm-rg350-fb35c7f46f986a22235638e2946ba8492e735109.tar.gz
scummvm-rg350-fb35c7f46f986a22235638e2946ba8492e735109.tar.bz2
scummvm-rg350-fb35c7f46f986a22235638e2946ba8492e735109.zip
VIDEO: Remove setSystemPalette()
Diffstat (limited to 'engines/saga')
-rw-r--r--engines/saga/introproc_saga2.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/saga/introproc_saga2.cpp b/engines/saga/introproc_saga2.cpp
index 15f7f4dc15..260eca98e6 100644
--- a/engines/saga/introproc_saga2.cpp
+++ b/engines/saga/introproc_saga2.cpp
@@ -32,6 +32,7 @@
#include "common/keyboard.h"
#include "common/system.h"
#include "common/textconsole.h"
+#include "graphics/palette.h"
#include "graphics/surface.h"
#include "video/smk_decoder.h"
@@ -110,7 +111,7 @@ void Scene::playMovie(const char *filename) {
_vm->_system->copyRectToScreen(frame->pixels, frame->pitch, x, y, frame->w, frame->h);
if (smkDecoder->hasDirtyPalette())
- smkDecoder->setSystemPalette();
+ _vm->_system->getPaletteManager()->setPalette(smkDecoder->getPalette(), 0, 256);
_vm->_system->updateScreen();
}