mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-19 08:50:48 +00:00
Fix running dolphin with a single flag.
This commit is contained in:
parent
16d3604211
commit
e0b5d4a86c
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@ bool DolphinApp::OnInit()
|
|||
|
||||
// Gets the command line parameters
|
||||
wxCmdLineParser parser(cmdLineDesc, argc, argv);
|
||||
if (argc == 2)
|
||||
if (argc == 2 && File::Exists(argv[1].ToUTF8().data()))
|
||||
{
|
||||
LoadFile = true;
|
||||
FileToLoad = argv[1];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue