ams: use R_SUCCEED, R_THROW globally
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user