strat: 0 -> ResultSuccess

This commit is contained in:
Michael Scire
2019-03-28 22:39:39 -07:00
parent 9427a5cf46
commit c6d67eab6a
51 changed files with 166 additions and 166 deletions

View File

@@ -67,7 +67,7 @@ Result ShellService::FinalizeExitedProcess(u64 pid) {
return ResultPmNotExited;
} else {
Registration::FinalizeExitedProcess(proc);
return 0x0;
return ResultSuccess;
}
}
@@ -77,7 +77,7 @@ Result ShellService::ClearProcessNotificationFlag(u64 pid) {
auto proc = Registration::GetProcess(pid);
if (proc != NULL) {
proc->flags &= ~PROCESSFLAGS_CRASHED;
return 0x0;
return ResultSuccess;
} else {
return ResultPmProcessNotFound;
}
@@ -96,7 +96,7 @@ Result ShellService::GetApplicationProcessId(Out<u64> pid) {
std::shared_ptr<Registration::Process> app_proc;
if (Registration::HasApplicationProcess(&app_proc)) {
pid.SetValue(app_proc->pid);
return 0;
return ResultSuccess;
}
return ResultPmProcessNotFound;
}
@@ -109,5 +109,5 @@ Result ShellService::BoostSystemThreadsResourceLimit() {
/* Starting in 7.0.0, Nintendo reduces the number of system threads from 0x260 to 0x60, */
/* Until this command is called to double that amount to 0xC0. */
/* We will simply not reduce the number of system threads available for no reason. */
return 0x0;
return ResultSuccess;
}