pcsx2: Fix "nodisc" commandline option

It was present in the help text but didn't actually do anything.
This commit is contained in:
Jonathan Li 2017-04-18 17:44:47 +01:00 committed by Gregory Hainaut
parent 088aa2ffdc
commit 92b1f3cf6d
1 changed files with 6 additions and 0 deletions

View File

@ -370,6 +370,12 @@ bool Pcsx2App::OnCmdLineParsed( wxCmdLineParser& parser )
Startup.SysAutoRun = true;
}
if (parser.Found(L"nodisc"))
{
Startup.CdvdSource = CDVD_SourceType::NoDisc;
Startup.SysAutoRun = true;
}
return true;
}