aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Snover2017-10-15 16:41:04 -0500
committerColin Snover2017-10-15 16:41:04 -0500
commit7aef79c421011751311334cd5915d31bdadda3da (patch)
treedfcbf86fdd4ef2e872b24ab39de879b0fae50ab2
parent1f8eeb5920aeaaa34931f66ea565b9c1e14a1bbd (diff)
downloadscummvm-rg350-7aef79c421011751311334cd5915d31bdadda3da.tar.gz
scummvm-rg350-7aef79c421011751311334cd5915d31bdadda3da.tar.bz2
scummvm-rg350-7aef79c421011751311334cd5915d31bdadda3da.zip
DINGUX: Fix missing const on hasFeature/getFeatureState implementation
-rw-r--r--backends/graphics/dinguxsdl/dinguxsdl-graphics.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/graphics/dinguxsdl/dinguxsdl-graphics.cpp b/backends/graphics/dinguxsdl/dinguxsdl-graphics.cpp
index 9923b65d26..7d5f542ac0 100644
--- a/backends/graphics/dinguxsdl/dinguxsdl-graphics.cpp
+++ b/backends/graphics/dinguxsdl/dinguxsdl-graphics.cpp
@@ -457,7 +457,7 @@ bool DINGUXSdlGraphicsManager::loadGFXMode() {
return SurfaceSdlGraphicsManager::loadGFXMode();
}
-bool DINGUXSdlGraphicsManager::hasFeature(OSystem::Feature f) {
+bool DINGUXSdlGraphicsManager::hasFeature(OSystem::Feature f) const {
return
(f == OSystem::kFeatureAspectRatioCorrection) ||
(f == OSystem::kFeatureCursorPalette);
@@ -477,7 +477,7 @@ void DINGUXSdlGraphicsManager::setFeatureState(OSystem::Feature f, bool enable)
}
}
-bool DINGUXSdlGraphicsManager::getFeatureState(OSystem::Feature f) {
+bool DINGUXSdlGraphicsManager::getFeatureState(OSystem::Feature f) const {
assert(_transactionMode == kTransactionNone);
switch (f) {