From 285322982f860013467b61d52c6ee9b21585e8de Mon Sep 17 00:00:00 2001 From: Eladash Date: Fri, 7 Jan 2022 19:09:35 +0200 Subject: [PATCH] Do not dare to touch HDD1 cache during game process respawn! --- rpcs3/Emu/System.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rpcs3/Emu/System.cpp b/rpcs3/Emu/System.cpp index ded8379726..3e817bb3aa 100644 --- a/rpcs3/Emu/System.cpp +++ b/rpcs3/Emu/System.cpp @@ -204,6 +204,8 @@ void Emulator::Init(bool add_only) sys_log.notice("Hdd1: %s", vfs::get("/dev_hdd1")); } + const bool is_exitspawn = m_config_mode == cfg_mode::continuous; + // Load config file if (m_config_mode == cfg_mode::config_override) { @@ -378,7 +380,7 @@ void Emulator::Init(bool add_only) } // Limit cache size - if (g_cfg.vfs.limit_cache_size) + if (!is_exitspawn && g_cfg.vfs.limit_cache_size) rpcs3::cache::limit_cache_size(); }