summaryrefslogtreecommitdiff
path: root/uisimulator/x11
diff options
context:
space:
mode:
authorRobert Hak <adiamas@rockbox.org>2002-06-04 08:55:49 +0000
committerRobert Hak <adiamas@rockbox.org>2002-06-04 08:55:49 +0000
commit1fac0e66fd45bb73abf5d2d28b14f8720d87e8e1 (patch)
tree870600f2926ec776b65ae3b1e8aeb48448906549 /uisimulator/x11
parentda4d33b7a96214b436e15fb0788cffe420c013bb (diff)
the sim should not take args off the command line
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@883 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/x11')
-rw-r--r--uisimulator/x11/screenhack.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/uisimulator/x11/screenhack.c b/uisimulator/x11/screenhack.c
index 441447c129..0c795e7d19 100644
--- a/uisimulator/x11/screenhack.c
+++ b/uisimulator/x11/screenhack.c
@@ -403,6 +403,11 @@ int main (int argc, char **argv)
if (argc > 1)
{
+ fprintf (stderr,
+ "This is the RockBox simulator. The firmware will not take\n"
+ "arguements, so the simulator will not either.\n");
+ exit(0);
+#ifdef LETS_NOT_USE_ARGS
const char *s;
int i;
int x = 18;
@@ -432,6 +437,7 @@ int main (int argc, char **argv)
}
fprintf (stderr, ".\n");
exit (help_p ? 0 : 1);
+#endif
}
dont_clear = get_boolean_resource ("dontClearRoot", "Boolean");