QT: Restore RichardG's hard reset workaround.

This commit is contained in:
OBattler
2024-08-24 04:24:06 +02:00
parent 0d43babac8
commit cdd01eceea
3 changed files with 11 additions and 2 deletions

View File

@@ -138,8 +138,17 @@ main_thread_fn()
}
} else {
/* Just so we dont overload the host OS. */
/* Trigger a hard reset if one is pending. */
if (hard_reset_pending) {
hard_reset_pending = 0;
pc_reset_hard_close();
pc_reset_hard_init();
}
if (dopause)
ack_pause();
std::this_thread::sleep_for(std::chrono::milliseconds(1));
}
}