aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorlubomyr2017-02-07 16:35:41 +0200
committerlubomyr2017-02-07 16:35:41 +0200
commitf8c4274f1a0bdde91123f3cd493d14e5a1b1a91e (patch)
treebaa054d536a11f0677c66359ee293edb97828c4b /backends
parent2d7803c22f96f50b7541dd80cb8158cf23ba0ddf (diff)
downloadscummvm-rg350-f8c4274f1a0bdde91123f3cd493d14e5a1b1a91e.tar.gz
scummvm-rg350-f8c4274f1a0bdde91123f3cd493d14e5a1b1a91e.tar.bz2
scummvm-rg350-f8c4274f1a0bdde91123f3cd493d14e5a1b1a91e.zip
ANDROIDSDL: code refactoring...
Diffstat (limited to 'backends')
-rw-r--r--backends/platform/androidsdl/androidsdl-sdl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/platform/androidsdl/androidsdl-sdl.cpp b/backends/platform/androidsdl/androidsdl-sdl.cpp
index 8f85527a9d..07bb23eba6 100644
--- a/backends/platform/androidsdl/androidsdl-sdl.cpp
+++ b/backends/platform/androidsdl/androidsdl-sdl.cpp
@@ -88,9 +88,11 @@ void OSystem_ANDROIDSDL::switchToRelativeMouseMode() {
void OSystem_ANDROIDSDL::setFeatureState(Feature f, bool enable) {
switch (f) {
case kFeatureTouchpadMode:
+ ConfMan.setBool("touchpad_mouse_mode", enable);
touchpadMode(enable);
break;
case kFeatureOnScreenControl:
+ ConfMan.setBool("onscreen_control", enable);
showOnScreenControl(enable);
break;
}