mirror of https://github.com/bsnes-emu/bsnes.git
Fix loading game from command line.
This commit is contained in:
parent
af143b0420
commit
ce31de47cb
|
@ -406,7 +406,7 @@ int main(int argc, char **argv)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (argc == 2) {
|
if (argc == 2) {
|
||||||
filename = argv[2];
|
filename = argv[1];
|
||||||
}
|
}
|
||||||
|
|
||||||
signal(SIGINT, debugger_interrupt);
|
signal(SIGINT, debugger_interrupt);
|
||||||
|
|
Loading…
Reference in New Issue