diff options
-rw-r--r-- | base/main.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/base/main.cpp b/base/main.cpp index 7462044bf0..435f818516 100644 --- a/base/main.cpp +++ b/base/main.cpp @@ -49,6 +49,10 @@ #include "backends/dc/DCLauncherDialog.h" #endif +#ifdef __PALM_OS__ +#include "args.h" +#endif + /* * Version string and build date string. These can be used by anything that * wants to display this information to the user (e.g. about dialog). @@ -361,6 +365,10 @@ extern "C" int scummvm_main(GameDetector &detector, int argc, char *argv[]) { #endif detector.parseCommandLine(argc, argv); +#ifdef __PALM_OS__ + ArgsFree(argv); +#endif + // Ensure the system object exists (it may have already been created // at an earlier point, though!) OSystem *system = OSystem::instance(); |