strat: replace kernel/dbg magic numbers with result defs

This commit is contained in:
Michael Scire committed 2019-03-28 16:57:18 -07:00
1 parent 285feba42b
commit acffae6643
13 files changed
+52 -33

No files matched your search

+1 -1
View File
@@ -275,7 +275,7 @@ Result Registration::HandleSignaledProcess(std::shared_ptr<Registration::Process
} else {
FinalizeExitedProcess(process);
}
return 0xF601;
return ResultKernelConnectionClosed;
case ProcessState_DebugSuspended:
if (process->flags & PROCESSFLAGS_NOTIFYDEBUGEVENTS) {
process->flags |= (PROCESSFLAGS_DEBUGEVENTPENDING | PROCESSFLAGS_DEBUGSUSPENDED);