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

This commit is contained in:
Jonathan Li authored and Gregory Hainaut committed 2017-04-21 10:54:16 +02:00
1 parent 92b1f3cf6d
commit 620b9b3300
1 file changed
+2 -1
+2 -1
View File
@@ -503,7 +503,8 @@ bool Pcsx2App::OnInit()
{
g_Conf->EmuOptions.UseBOOT2Injection = !Startup.NoFastBoot;
g_Conf->CdvdSource = Startup.CdvdSource;
SysUpdateIsoSrcFile( Startup.IsoFile );
if (Startup.CdvdSource == CDVD_SourceType::Iso)
SysUpdateIsoSrcFile( Startup.IsoFile );
sApp.SysExecute( Startup.CdvdSource );
}
else if ( Startup.SysAutoRunElf )