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/agos | |
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/agos')
-rw-r--r-- | engines/agos/animation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/agos/animation.cpp b/engines/agos/animation.cpp index ec8293c91f..8fc93e4153 100644 --- a/engines/agos/animation.cpp +++ b/engines/agos/animation.cpp @@ -278,7 +278,7 @@ void MoviePlayerDXA::copyFrameToBuffer(byte *dst, uint x, uint y, uint pitch) { } while (--h); if (hasDirtyPalette()) - setSystemPalette(); + g_system->getPaletteManager()->setPalette(getPalette(), 0, 256); } void MoviePlayerDXA::playVideo() { @@ -445,7 +445,7 @@ void MoviePlayerSMK::copyFrameToBuffer(byte *dst, uint x, uint y, uint pitch) { } while (--h); if (hasDirtyPalette()) - setSystemPalette(); + g_system->getPaletteManager()->setPalette(getPalette(), 0, 256); } void MoviePlayerSMK::playVideo() { |