Reply with an error if we fail to step

This commit is contained in:
svc64 2023-10-06 17:24:58 +03:00
parent 6ecc829516
commit 5e65fd8808

View file

@ -562,10 +562,15 @@ namespace Ryujinx.HLE.Debugger
thread.Context.DebugPc = newPc.Value;
}
thread.DebugStep();
if (!thread.DebugStep())
{
ReplyError();
}
else
{
Reply($"T05thread:{thread.ThreadUid:x};");
}
}
private void CommandIsAlive(ulong? threadId)
{