1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Robert Hak 2002-06-04 08:55:49 +00:00
parent da4d33b7a9
commit 1fac0e66fd

View file

@ -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");