mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-02-02 12:24:03 +00:00
refactored
This commit is contained in:
parent
dd412015ad
commit
930a0bfb6b
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user