aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/psp
diff options
context:
space:
mode:
authorColin Snover2017-10-15 13:46:41 -0500
committerColin Snover2017-10-15 13:47:19 -0500
commitbda253b1acfa8e8ce76436780ba9fa86d712c7a0 (patch)
tree21e9afe003a377606975b98b71ec446e9a432782 /backends/platform/psp
parentf9ba31e4650ba6233349e784eca53b9893d19d57 (diff)
downloadscummvm-rg350-bda253b1acfa8e8ce76436780ba9fa86d712c7a0.tar.gz
scummvm-rg350-bda253b1acfa8e8ce76436780ba9fa86d712c7a0.tar.bz2
scummvm-rg350-bda253b1acfa8e8ce76436780ba9fa86d712c7a0.zip
BACKENDS: Constify PaletteManager::grabPalette implementations
Diffstat (limited to 'backends/platform/psp')
-rw-r--r--backends/platform/psp/osys_psp.cpp2
-rw-r--r--backends/platform/psp/osys_psp.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/psp/osys_psp.cpp b/backends/platform/psp/osys_psp.cpp
index 67cb72d9d4..e31456fb70 100644
--- a/backends/platform/psp/osys_psp.cpp
+++ b/backends/platform/psp/osys_psp.cpp
@@ -280,7 +280,7 @@ int16 OSystem_PSP::getOverlayHeight() {
return (int16)_overlay.getHeight();
}
-void OSystem_PSP::grabPalette(byte *colors, uint start, uint num) {
+void OSystem_PSP::grabPalette(byte *colors, uint start, uint num) const {
DEBUG_ENTER_FUNC();
_screen.getPartialPalette(colors, start, num);
}
diff --git a/backends/platform/psp/osys_psp.h b/backends/platform/psp/osys_psp.h
index 6f9238b84e..304c724aaa 100644
--- a/backends/platform/psp/osys_psp.h
+++ b/backends/platform/psp/osys_psp.h
@@ -94,7 +94,7 @@ public:
protected:
// PaletteManager API
void setPalette(const byte *colors, uint start, uint num);
- void grabPalette(byte *colors, uint start, uint num);
+ void grabPalette(byte *colors, uint start, uint num) const;
public:
void setCursorPalette(const byte *colors, uint start, uint num);