Savestates: Increase timeout for emulation stopping

This commit is contained in:
Eladash 2022-07-07 22:14:43 +03:00 committed by Ivan
parent 983bfa2088
commit 0980c68e6f
1 changed files with 1 additions and 1 deletions

View File

@ -2271,7 +2271,7 @@ void Emulator::Kill(bool allow_autoexit, bool savestate)
for (uint i = 0; thread_ctrl::state() != thread_state::aborting;)
{
// We don't need accurate timekeeping, using clocks may interfere with debugging
if (i >= 1000)
if (i >= (savestate ? 2000 : 1000))
{
// Total amount of waiting: about 5s
report_fatal_error("Stopping emulator took too long."