aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
Diffstat (limited to 'base')
-rw-r--r--base/gameDetector.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/base/gameDetector.cpp b/base/gameDetector.cpp
index a08ce3efb0..bcb9d9d5cc 100644
--- a/base/gameDetector.cpp
+++ b/base/gameDetector.cpp
@@ -128,8 +128,11 @@ static const char HELP_STRING[] =
;
#endif
-
+#if !(defined(PALMOS_ARM) || defined(PALMOS_DEBUG))
static Common::String s_appName("scummvm");
+#else
+static const char *s_appName = "scummvm";
+#endif
static void usage(const char *s, ...) GCC_PRINTF(1, 2);
@@ -141,7 +144,9 @@ static void usage(const char *s, ...) {
vsnprintf(buf, STRINGBUFLEN, s, va);
va_end(va);
+#if !(defined(PALMOS_ARM) || defined(PALMOS_DEBUG))
printf(USAGE_STRING, s_appName.c_str(), buf, s_appName.c_str(), s_appName.c_str());
+#endif
exit(1);
}