Moved Symbian call to GUI::Actions::init(); to the Symbian backend

svn-id: r22811
This commit is contained in:
Lars Persson 2006-05-31 21:13:37 +00:00
parent 0044ef7be1
commit 72904c3354
2 changed files with 4 additions and 1 deletions

View File

@ -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();

View File

@ -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 :-)