1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2025-03-15 04:21:01 +00:00

rsx: Fix emulation stopping in cpu_thread::is_paused poll ()

Ignore pause flags if thread is stopped.
This commit is contained in:
Eladash 2021-06-20 20:00:12 +03:00 committed by GitHub
parent 40493c564f
commit 0531b3d801
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -38,7 +38,7 @@ constexpr bool is_stopped(bs_t<cpu_flag> state)
// Test paused state
constexpr bool is_paused(bs_t<cpu_flag> state)
{
return !!(state & (cpu_flag::suspend + cpu_flag::dbg_global_pause + cpu_flag::dbg_pause));
return !!(state & (cpu_flag::suspend + cpu_flag::dbg_global_pause + cpu_flag::dbg_pause)) && !is_stopped(state);
}
class cpu_thread