mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-28 05:34:11 -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
|
@ -56,7 +56,7 @@ namespace ams::os {
|
|||
InitializeIoRegion(io_region, handle, size, true);
|
||||
|
||||
state_guard.Cancel();
|
||||
return ResultSuccess();
|
||||
R_SUCCEED();
|
||||
}
|
||||
|
||||
void AttachIoRegionHandle(IoRegionType *io_region, size_t size, NativeHandle handle, bool managed) {
|
||||
|
@ -135,7 +135,7 @@ namespace ams::os {
|
|||
/* Set the output address. */
|
||||
*out = mapped_address;
|
||||
|
||||
return ResultSuccess();
|
||||
R_SUCCEED();
|
||||
}
|
||||
|
||||
void UnmapIoRegion(IoRegionType *io_region) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue