mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-29 22:20:48 +00:00
rsx: Fix emulation stopping in cpu_thread::is_paused poll (#10475)
Ignore pause flags if thread is stopped.
This commit is contained in:
parent
40493c564f
commit
0531b3d801
@ -38,7 +38,7 @@ constexpr bool is_stopped(bs_t<cpu_flag> state)
|
|||||||
// Test paused state
|
// Test paused state
|
||||||
constexpr bool is_paused(bs_t<cpu_flag> 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
|
class cpu_thread
|
||||||
|
Loading…
x
Reference in New Issue
Block a user