Don't step when the thread is blocked

This commit is contained in:
svc64 2023-10-07 10:33:06 +03:00
parent de4ec65bd7
commit 5d42332d75

View file

@ -1443,7 +1443,8 @@ namespace Ryujinx.HLE.HOS.Kernel.Threading
lock (_activityOperationLock) lock (_activityOperationLock)
{ {
if (_debugState != (int)DebugState.Stopped if (_debugState != (int)DebugState.Stopped
|| (_forcePauseFlags & ThreadSchedState.ThreadPauseFlag) == 0) || (_forcePauseFlags & ThreadSchedState.ThreadPauseFlag) == 0
|| MutexOwner != null)
{ {
return false; return false;
} }