diff options
author | Robert Hak <adiamas@rockbox.org> | 2002-06-04 08:55:49 +0000 |
---|---|---|
committer | Robert Hak <adiamas@rockbox.org> | 2002-06-04 08:55:49 +0000 |
commit | 1fac0e66fd45bb73abf5d2d28b14f8720d87e8e1 (patch) | |
tree | 870600f2926ec776b65ae3b1e8aeb48448906549 /uisimulator/x11/screenhack.c | |
parent | da4d33b7a96214b436e15fb0788cffe420c013bb (diff) | |
download | rockbox-1fac0e66fd45bb73abf5d2d28b14f8720d87e8e1.tar.gz rockbox-1fac0e66fd45bb73abf5d2d28b14f8720d87e8e1.zip |
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/screenhack.c')
-rw-r--r-- | uisimulator/x11/screenhack.c | 6 |
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) | |||
403 | 403 | ||
404 | if (argc > 1) | 404 | if (argc > 1) |
405 | { | 405 | { |
406 | fprintf (stderr, | ||
407 | "This is the RockBox simulator. The firmware will not take\n" | ||
408 | "arguements, so the simulator will not either.\n"); | ||
409 | exit(0); | ||
410 | #ifdef LETS_NOT_USE_ARGS | ||
406 | const char *s; | 411 | const char *s; |
407 | int i; | 412 | int i; |
408 | int x = 18; | 413 | int x = 18; |
@@ -432,6 +437,7 @@ int main (int argc, char **argv) | |||
432 | } | 437 | } |
433 | fprintf (stderr, ".\n"); | 438 | fprintf (stderr, ".\n"); |
434 | exit (help_p ? 0 : 1); | 439 | exit (help_p ? 0 : 1); |
440 | #endif | ||
435 | } | 441 | } |
436 | 442 | ||
437 | dont_clear = get_boolean_resource ("dontClearRoot", "Boolean"); | 443 | dont_clear = get_boolean_resource ("dontClearRoot", "Boolean"); |