Suggest using SPU Savestates-Compatible Mode on failure to save

This commit is contained in:
Eladash 2023-12-28 21:53:56 +02:00 committed by Elad Ashkenazi
parent bd687b41d3
commit 9df40a9b69
1 changed files with 6 additions and 0 deletions

View File

@ -2761,6 +2761,12 @@ void Emulator::Kill(bool allow_autoexit, bool savestate, savestate_stage* save_s
if (!try_lock_spu_threads_in_a_state_compatible_with_savestates())
{
sys_log.error("Failed to savestate: failed to lock SPU threads execution.");
if (!g_cfg.savestate.compatible_mode)
{
sys_log.error("Enabling SPU Savestates-Compatible Mode in Advanced tab may fix this.");
}
m_savestate_pending = false;
CallFromMainThread([pause = std::move(pause_thread)]()