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 authored and Gregory Hainaut committed 2017-04-21 10:54:16 +02:00
1 parent 088aa2ffdc
commit 92b1f3cf6d
1 file changed
+6
+6
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;
}