From 620b9b33006972d38d26f32bca6c7183d37b438d Mon Sep 17 00:00:00 2001 From: Jonathan Li Date: Tue, 18 Apr 2017 22:06:16 +0100 Subject: [PATCH] pcsx2: Avoid clearing current ISO when not autorunning with an ISO --- pcsx2/gui/AppInit.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pcsx2/gui/AppInit.cpp b/pcsx2/gui/AppInit.cpp index b3e8d1363c..c9ea5b3fb0 100644 --- a/pcsx2/gui/AppInit.cpp +++ b/pcsx2/gui/AppInit.cpp @@ -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 )