ams: use R_SUCCEED, R_THROW globally
This commit is contained in:
1 parent
e5b1739f65
commit
dd78ede99f
370 files changed
+2107
-2107
No files matched your search
@@ -22,12 +22,12 @@ namespace ams::mitm::bpc {
|
||||
Result BpcMitmService::RebootSystem() {
|
||||
R_UNLESS(bpc::IsRebootManaged(), sm::mitm::ResultShouldForwardToSession());
|
||||
bpc::RebootSystem();
|
||||
return ResultSuccess();
|
||||
R_SUCCEED();
|
||||
}
|
||||
|
||||
Result BpcMitmService::ShutdownSystem() {
|
||||
bpc::ShutdownSystem();
|
||||
return ResultSuccess();
|
||||
R_SUCCEED();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user