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/wii | |
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/wii')
-rw-r--r-- | backends/platform/wii/osystem.h | 2 | ||||
-rw-r--r-- | backends/platform/wii/osystem_gfx.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/wii/osystem.h b/backends/platform/wii/osystem.h index f1591614bf..5482eb7d49 100644 --- a/backends/platform/wii/osystem.h +++ b/backends/platform/wii/osystem.h @@ -165,7 +165,7 @@ public: virtual PaletteManager *getPaletteManager() { return this; } protected: 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 setCursorPalette(const byte *colors, uint start, uint num); virtual void copyRectToScreen(const void *buf, int pitch, int x, int y, diff --git a/backends/platform/wii/osystem_gfx.cpp b/backends/platform/wii/osystem_gfx.cpp index c7989e95ad..932ca3814c 100644 --- a/backends/platform/wii/osystem_gfx.cpp +++ b/backends/platform/wii/osystem_gfx.cpp @@ -352,7 +352,7 @@ void OSystem_Wii::setPalette(const byte *colors, uint start, uint num) { } } -void OSystem_Wii::grabPalette(byte *colors, uint start, uint num) { +void OSystem_Wii::grabPalette(byte *colors, uint start, uint num) const { #ifdef USE_RGB_COLOR assert(_pfGame.bytesPerPixel == 1); #endif |