Savestates/RSX: fix unintentional vblank thread spin after abort

This commit is contained in:
Eladash 2022-09-01 17:54:31 +03:00 committed by Ivan
parent ee1384341e
commit 11a197a387

View file

@ -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();