ams: use R_SUCCEED, R_THROW globally

This commit is contained in:
Michael Scire
2022-03-26 00:14:36 -07:00
parent e5b1739f65
commit dd78ede99f
370 changed files with 2107 additions and 2107 deletions

View File

@@ -29,7 +29,7 @@ namespace ams::capsrv::server {
/* Initialize the idle event, we're idle initially. */
os::InitializeEvent(std::addressof(m_idle_event), true, os::EventClearMode_ManualClear);
return ResultSuccess();
R_SUCCEED();
}
void DecoderControlServerManager::Finalize() {

View File

@@ -64,7 +64,7 @@ namespace ams::capsrv::server {
/* We succeeded, so we shouldn't clear the output memory. */
clear_guard.Cancel();
return ResultSuccess();
R_SUCCEED();
}
}