aboutsummaryrefslogtreecommitdiff
path: root/engines/sword2
diff options
context:
space:
mode:
authorMatthew Hoops2010-12-16 01:41:11 +0000
committerMatthew Hoops2010-12-16 01:41:11 +0000
commit1ead0d8436cdea9fd6a54af6bf749297afa75a17 (patch)
tree30803cfea2304588f235456fda98554fb3ec9807 /engines/sword2
parent375f32fbe94e8500a03c19ed32865efdcde8ca8e (diff)
downloadscummvm-rg350-1ead0d8436cdea9fd6a54af6bf749297afa75a17.tar.gz
scummvm-rg350-1ead0d8436cdea9fd6a54af6bf749297afa75a17.tar.bz2
scummvm-rg350-1ead0d8436cdea9fd6a54af6bf749297afa75a17.zip
VIDEO: Make VideoDecoder::getPalette() return a const byte pointer
svn-id: r54928
Diffstat (limited to 'engines/sword2')
-rw-r--r--engines/sword2/animation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword2/animation.cpp b/engines/sword2/animation.cpp
index 617c254ec4..50548486f0 100644
--- a/engines/sword2/animation.cpp
+++ b/engines/sword2/animation.cpp
@@ -291,7 +291,7 @@ bool MoviePlayer::playVideo() {
uint32 weight;
byte r, g, b;
- byte *palette = _decoder->getPalette();
+ const byte *palette = _decoder->getPalette();
for (int i = 0; i < 256; i++) {
r = *palette++;