mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
Merge pull request #1212 from RachelBryk/lol
Fix running dolphin with a single flag.
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user