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:
parent
da4d33b7a9
commit
1fac0e66fd
1 changed files with 6 additions and 0 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue