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
1 changed files with 2 additions and 1 deletions

View File

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