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

@ -145,7 +145,7 @@ namespace ams::spl {
m_aes_keyslot_owners[index] = owner;
*out_keyslot = keyslot;
return ResultSuccess();
R_SUCCEED();
}
Result SecureMonitorManager::DeallocateAesKeySlot(s32 keyslot, const void *owner) {
@ -190,7 +190,7 @@ namespace ams::spl {
if (out_index != nullptr) {
*out_index = index;
}
return ResultSuccess();
R_SUCCEED();
}