mirror of
https://github.com/Lime3DS/Lime3DS
synced 2024-12-23 15:42:39 -06:00
Fixed late-night copy paste fail
This commit is contained in:
parent
bc83c922a1
commit
38cbf4a069
1 changed files with 3 additions and 2 deletions
|
@ -354,8 +354,9 @@ GMainWindow::GMainWindow(Core::System& system_)
|
|||
}
|
||||
|
||||
// Launch game at path
|
||||
if (i == args.size() - 1 && !args[i + 1].startsWith(QChar::fromLatin1('-'))) {
|
||||
game_path = args[++i];
|
||||
if (i == args.size() - 1 && !args[i].startsWith(QChar::fromLatin1('-'))) {
|
||||
game_path = args[i];
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue