pcsx2: Avoid clearing current ISO when not autorunning with an ISO

This commit is contained in:
Jonathan Li 2017-04-18 22:06:16 +01:00 committed by Gregory Hainaut
parent 92b1f3cf6d
commit 620b9b3300
1 changed files with 2 additions and 1 deletions

View File

@ -503,6 +503,7 @@ bool Pcsx2App::OnInit()
{
g_Conf->EmuOptions.UseBOOT2Injection = !Startup.NoFastBoot;
g_Conf->CdvdSource = Startup.CdvdSource;
if (Startup.CdvdSource == CDVD_SourceType::Iso)
SysUpdateIsoSrcFile( Startup.IsoFile );
sApp.SysExecute( Startup.CdvdSource );
}