mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-03 16:18:51 -04:00
pm: remove magic flag/event numbers to improve readability and understandability
This commit is contained in:
parent
9d0d9d95e1
commit
6adcb483e5
3 changed files with 159 additions and 34 deletions
|
@ -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};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue