mirror of https://github.com/PCSX2/pcsx2.git
pcsx2: Fix "nodisc" commandline option
It was present in the help text but didn't actually do anything.
This commit is contained in:
parent
088aa2ffdc
commit
92b1f3cf6d
|
@ -370,6 +370,12 @@ bool Pcsx2App::OnCmdLineParsed( wxCmdLineParser& parser )
|
||||||
Startup.SysAutoRun = true;
|
Startup.SysAutoRun = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (parser.Found(L"nodisc"))
|
||||||
|
{
|
||||||
|
Startup.CdvdSource = CDVD_SourceType::NoDisc;
|
||||||
|
Startup.SysAutoRun = true;
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue