1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 10:42:36 +01:00

Do not dare to touch HDD1 cache during game process respawn!

This commit is contained in:
Eladash 2022-01-07 19:09:35 +02:00 committed by Ivan
parent 4e6be9172a
commit 285322982f

View File

@ -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();
}