diff --git a/rpcs3/Emu/System.cpp b/rpcs3/Emu/System.cpp index 9d780e6c4d..b204cc38b9 100644 --- a/rpcs3/Emu/System.cpp +++ b/rpcs3/Emu/System.cpp @@ -3393,7 +3393,7 @@ void Emulator::Kill(bool allow_autoexit, bool savestate, savestate_stage* save_s bool is_being_held_longer = false; - for (int i = 0; !*join_ended && thread_ctrl::state() != thread_state::aborting;) + for (int i = 0; !*join_ended && thread_ctrl::state() != thread_state::aborting; i++) { if (g_watchdog_hold_ctr) { @@ -3415,7 +3415,6 @@ void Emulator::Kill(bool allow_autoexit, bool savestate, savestate_stage* save_s } thread_ctrl::wait_for(5'000); - i++; } while (thread_ctrl::state() != thread_state::aborting)