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/3ds/osystem-graphics.cpp | |
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/3ds/osystem-graphics.cpp')
-rw-r--r-- | backends/platform/3ds/osystem-graphics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/3ds/osystem-graphics.cpp b/backends/platform/3ds/osystem-graphics.cpp index 78b7907fe6..e791dd4c21 100644 --- a/backends/platform/3ds/osystem-graphics.cpp +++ b/backends/platform/3ds/osystem-graphics.cpp @@ -230,7 +230,7 @@ void OSystem_3DS::setPalette(const byte *colors, uint start, uint num) { flushGameScreen(); } } -void OSystem_3DS::grabPalette(byte *colors, uint start, uint num) { +void OSystem_3DS::grabPalette(byte *colors, uint start, uint num) const { assert(start + num <= 256); memcpy(colors, _palette + 3 * start, 3 * num); } |