aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/symbian/src/SymbianOS.cpp3
-rw-r--r--base/main.cpp2
2 files changed, 4 insertions, 1 deletions
diff --git a/backends/symbian/src/SymbianOS.cpp b/backends/symbian/src/SymbianOS.cpp
index 1bf08aa10b..0050d059a4 100644
--- a/backends/symbian/src/SymbianOS.cpp
+++ b/backends/symbian/src/SymbianOS.cpp
@@ -97,11 +97,14 @@ void OSystem_SDL_Symbian::initBackend() {
#endif
ConfMan.setInt("joystick_num", 0); // Symbian OS should have joystick_num set to 0 in the ini file , but uiq devices might refuse opening the joystick
ConfMan.flushToDisk();
+
+ GUI::Actions::init();
OSystem_SDL::initBackend();
// Initialize global key mapping for Smartphones
GUI::Actions* actions = GUI::Actions::Instance();
+
actions->initInstanceMain(this);
actions->loadMapping();
initZones();
diff --git a/base/main.cpp b/base/main.cpp
index 739d54a255..058b157e1e 100644
--- a/base/main.cpp
+++ b/base/main.cpp
@@ -317,7 +317,7 @@ extern "C" int scummvm_main(int argc, char *argv[]) {
if (!Base::processSettings(command, settings))
return 0;
-#if defined(__SYMBIAN32__) || defined(_WIN32_WCE)
+#if defined(_WIN32_WCE)
// Init keymap support.
// FIXME: Fingolfin seez: Now that we don't use a detector anymore, this
// could and should be moved to your OSystem::initBackend() method :-)