diff options
author | Max Horn | 2006-04-02 20:49:03 +0000 |
---|---|---|
committer | Max Horn | 2006-04-02 20:49:03 +0000 |
commit | ec432361d50e959dc72331d93f77ecae9891b0ac (patch) | |
tree | 620f9724f9c14913c2a5efdf2cf698bc7cf15127 | |
parent | 4a54db07a68e52a993f6345cf6b22109d556fe39 (diff) | |
download | scummvm-rg350-ec432361d50e959dc72331d93f77ecae9891b0ac.tar.gz scummvm-rg350-ec432361d50e959dc72331d93f77ecae9891b0ac.tar.bz2 scummvm-rg350-ec432361d50e959dc72331d93f77ecae9891b0ac.zip |
Process the command line args before passing them to GUI::Actions::init (so that _targetName & _gameid are set)
svn-id: r21568
-rw-r--r-- | base/main.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/base/main.cpp b/base/main.cpp index 0a428c7165..01b00a9eaa 100644 --- a/base/main.cpp +++ b/base/main.cpp @@ -308,14 +308,13 @@ extern "C" int scummvm_main(int argc, char *argv[]) { #ifndef _WIN32_WCE GameDetector detector; #endif + detector.processSettings(settings); #ifdef __SYMBIAN32__ // init keymap support here: we wanna move this somewhere else? GUI::Actions::init(detector); #endif - detector.processSettings(settings); - #ifdef PALMOS_68K ArgsFree(argv); #endif |