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

@ -208,7 +208,7 @@ namespace ams::socket::impl {
g_initialized = true;
return ResultSuccess();
R_SUCCEED();
}
ALWAYS_INLINE struct sockaddr *ConvertForLibnx(SockAddr *addr) {
@ -275,7 +275,7 @@ namespace ams::socket::impl {
}
lmem::DestroyExpHeap(heap_handle);
return ResultSuccess();
R_SUCCEED();
}
Result InitializeAllocatorForInternal(void *buffer, size_t size) {
@ -284,7 +284,7 @@ namespace ams::socket::impl {
AMS_ABORT_UNLESS(size >= 4_KB);
InitializeHeapImpl(buffer, size);
return ResultSuccess();
R_SUCCEED();
}
ssize_t RecvFrom(s32 desc, void *buffer, size_t buffer_size, MsgFlag flags, SockAddr *out_address, SockLenT *out_addr_len) {