mirror of https://github.com/bsnes-emu/bsnes.git
Merge pull request #26 from ConnorRigby/sdl/fix-load-from-cmdline
Fix loading game from command line.
This commit is contained in:
commit
cc73796897
|
@ -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