mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-18 09:04:23 -04:00
ams: use R_SUCCEED, R_THROW globally
This commit is contained in:
parent
e5b1739f65
commit
dd78ede99f
370 changed files with 2107 additions and 2107 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue