pm: remove magic flag/event numbers to improve readability and understandability

This commit is contained in:
misson20000 authored and SciresM committed 2018-07-27 02:03:28 -07:00
1 parent 9d0d9d95e1
commit 6adcb483e5
3 files changed
+159 -34

No files matched your search

+1 -1
View File
@@ -140,7 +140,7 @@ std::tuple<Result> ShellService::clear_process_notification_flag(u64 pid) {
std::shared_ptr<Registration::Process> proc = Registration::GetProcess(pid);
if (proc != NULL) {
proc->flags &= ~2;
proc->flags &= ~PROCESSFLAGS_CRASHED;
return {0x0};
} else {
return {0x20F};