From 92b1f3cf6d1aa19ec5abde964521ca39dc3d034c Mon Sep 17 00:00:00 2001 From: Jonathan Li Date: Tue, 18 Apr 2017 17:44:47 +0100 Subject: [PATCH] pcsx2: Fix "nodisc" commandline option It was present in the help text but didn't actually do anything. --- pcsx2/gui/AppInit.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pcsx2/gui/AppInit.cpp b/pcsx2/gui/AppInit.cpp index 354ede28a6..b3e8d1363c 100644 --- a/pcsx2/gui/AppInit.cpp +++ b/pcsx2/gui/AppInit.cpp @@ -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; }