Print usage on argc < 2
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@37 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
This commit is contained in:
parent
a1b30c7dd7
commit
06203ecde1
@ -141,7 +141,7 @@ int main(int argc, char **argv) {
|
||||
printf("Gambatte SDL svn\n");
|
||||
|
||||
if (argc < 2) {
|
||||
printf("No rom specified\n");
|
||||
printf("Usage: gambatte_sdl romfile\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user