Merge pull request #2044 from Tilka/load_file

DolphinWX: fix -e parameter
This commit is contained in:
Lioncash 2015-02-13 11:38:22 -05:00
commit fd0d6d3762
1 changed files with 1 additions and 0 deletions

View File

@ -209,6 +209,7 @@ bool DolphinApp::OnInit()
// Gets the command line parameters
wxCmdLineParser parser(cmdLineDesc, argc, argv);
LoadFile = false;
if (argc == 2 && File::Exists(argv[1].ToUTF8().data()))
{
LoadFile = true;