aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/video/seq_decoder.h
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/sci/video/seq_decoder.h
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/sci/video/seq_decoder.h')
-rw-r--r--engines/sci/video/seq_decoder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/video/seq_decoder.h b/engines/sci/video/seq_decoder.h
index 4d94d145ce..4150137223 100644
--- a/engines/sci/video/seq_decoder.h
+++ b/engines/sci/video/seq_decoder.h
@@ -49,7 +49,7 @@ public:
uint32 getFrameCount() const { return _frameCount; }
const Graphics::Surface *decodeNextFrame();
Graphics::PixelFormat getPixelFormat() const { return Graphics::PixelFormat::createFormatCLUT8(); }
- byte *getPalette() { _dirtyPalette = false; return _palette; }
+ const byte *getPalette() { _dirtyPalette = false; return _palette; }
bool hasDirtyPalette() const { return _dirtyPalette; }
protected: