From 7aef79c421011751311334cd5915d31bdadda3da Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Sun, 15 Oct 2017 16:41:04 -0500 Subject: DINGUX: Fix missing const on hasFeature/getFeatureState implementation --- backends/graphics/dinguxsdl/dinguxsdl-graphics.cpp | 4 ++-- 1 file 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) { -- cgit v1.2.3