From 1fac0e66fd45bb73abf5d2d28b14f8720d87e8e1 Mon Sep 17 00:00:00 2001 From: Robert Hak Date: Tue, 4 Jun 2002 08:55:49 +0000 Subject: 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 --- uisimulator/x11/screenhack.c | 6 ++++++ 1 file changed, 6 insertions(+) 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"); -- cgit v1.2.3