aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2009-06-25 19:56:02 +0000
committerJohannes Schickel2009-06-25 19:56:02 +0000
commit7a7babad77a7250369af8266ed4f28db6e004698 (patch)
tree2ae32138a9b0f7a7b03cf40bb855c81e4b7707f2
parentb21dd2cb4344dc4b4a9914d3e3ec67a004a726b8 (diff)
downloadscummvm-rg350-7a7babad77a7250369af8266ed4f28db6e004698.tar.gz
scummvm-rg350-7a7babad77a7250369af8266ed4f28db6e004698.tar.bz2
scummvm-rg350-7a7babad77a7250369af8266ed4f28db6e004698.zip
Add a const "getData" access method to Palette.
svn-id: r41880
-rw-r--r--engines/kyra/screen.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/kyra/screen.h b/engines/kyra/screen.h
index a37cbc0cfd..bbc06a7021 100644
--- a/engines/kyra/screen.h
+++ b/engines/kyra/screen.h
@@ -147,6 +147,7 @@ public:
* TODO: Get rid of this.
*/
uint8 *getData() { return _palData; }
+ const uint8 *getData() const { return _palData; }
private:
uint8 *_palData;
const int _numColors;