as long as "i" is not incremented, the value will be always 0

This commit is contained in:
Tuna Celik 2026-01-29 20:35:55 +01:00
parent b7311bd6db
commit cd1013dc42

View file

@ -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)
{