diff options
author | Colin Snover | 2017-10-15 13:46:41 -0500 |
---|---|---|
committer | Colin Snover | 2017-10-15 13:47:19 -0500 |
commit | bda253b1acfa8e8ce76436780ba9fa86d712c7a0 (patch) | |
tree | 21e9afe003a377606975b98b71ec446e9a432782 /backends/platform/iphone | |
parent | f9ba31e4650ba6233349e784eca53b9893d19d57 (diff) | |
download | scummvm-rg350-bda253b1acfa8e8ce76436780ba9fa86d712c7a0.tar.gz scummvm-rg350-bda253b1acfa8e8ce76436780ba9fa86d712c7a0.tar.bz2 scummvm-rg350-bda253b1acfa8e8ce76436780ba9fa86d712c7a0.zip |
BACKENDS: Constify PaletteManager::grabPalette implementations
Diffstat (limited to 'backends/platform/iphone')
-rw-r--r-- | backends/platform/iphone/osys_main.h | 2 | ||||
-rw-r--r-- | backends/platform/iphone/osys_video.mm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/iphone/osys_main.h b/backends/platform/iphone/osys_main.h index 390566322c..6aa77e291d 100644 --- a/backends/platform/iphone/osys_main.h +++ b/backends/platform/iphone/osys_main.h @@ -140,7 +140,7 @@ public: protected: // PaletteManager API virtual void setPalette(const byte *colors, uint start, uint num); - virtual void grabPalette(byte *colors, uint start, uint num); + virtual void grabPalette(byte *colors, uint start, uint num) const; public: virtual void copyRectToScreen(const void *buf, int pitch, int x, int y, int w, int h); diff --git a/backends/platform/iphone/osys_video.mm b/backends/platform/iphone/osys_video.mm index fa5c729a1c..f07160d350 100644 --- a/backends/platform/iphone/osys_video.mm +++ b/backends/platform/iphone/osys_video.mm @@ -155,7 +155,7 @@ void OSystem_IPHONE::setPalette(const byte *colors, uint start, uint num) { _mouseDirty = _mouseNeedTextureUpdate = true; } -void OSystem_IPHONE::grabPalette(byte *colors, uint start, uint num) { +void OSystem_IPHONE::grabPalette(byte *colors, uint start, uint num) const { //printf("grabPalette(%p, %u, %u)\n", colors, start, num); assert(start + num <= 256); byte *b = colors; |