From 11a197a387bf78e7005b1138418b9870321dab3e Mon Sep 17 00:00:00 2001 From: Eladash Date: Thu, 1 Sep 2022 17:54:31 +0300 Subject: [PATCH] Savestates/RSX: fix unintentional vblank thread spin after abort --- rpcs3/Emu/RSX/RSXThread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/RSX/RSXThread.cpp b/rpcs3/Emu/RSX/RSXThread.cpp index 6dbf8a0f36..a13f714477 100644 --- a/rpcs3/Emu/RSX/RSXThread.cpp +++ b/rpcs3/Emu/RSX/RSXThread.cpp @@ -814,7 +814,7 @@ namespace rsx u64 local_vblank_count = 0; // TODO: exit condition - while (!is_stopped() && !unsent_gcm_events) + while (!is_stopped() && !unsent_gcm_events && thread_ctrl::state() != thread_state::aborting) { // Get current time const u64 current = get_system_time();