Skip to content

Commit 7e8ed5e

Browse files
committed
rsx: clear unused parameters on capture boot
1 parent d396a77 commit 7e8ed5e

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

rpcs3/Emu/System.cpp

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -840,6 +840,19 @@ bool Emulator::BootRsxCapture(const std::string& path)
840840
return false;
841841
}
842842

843+
m_path.clear();
844+
m_path_old.clear();
845+
m_path_original.clear();
846+
m_title_id.clear();
847+
m_title.clear();
848+
m_localized_title.clear();
849+
m_app_version.clear();
850+
m_hash.clear();
851+
m_cat.clear();
852+
m_dir.clear();
853+
m_sfo_dir.clear();
854+
m_ar.reset();
855+
843856
Init();
844857
g_cfg.video.disable_on_disk_shader_cache.set(true);
845858

0 commit comments

Comments
 (0)