mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-17 16:44:22 -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
|
@ -47,7 +47,7 @@ namespace ams::time {
|
|||
if (g_initialize_count > 0) {
|
||||
AMS_ABORT_UNLESS(mode == g_initialize_mode);
|
||||
g_initialize_count++;
|
||||
return ResultSuccess();
|
||||
R_SUCCEED();
|
||||
}
|
||||
|
||||
#if defined(ATMOSPHERE_OS_HORIZON)
|
||||
|
@ -67,7 +67,7 @@ namespace ams::time {
|
|||
|
||||
g_initialize_count++;
|
||||
g_initialize_mode = mode;
|
||||
return ResultSuccess();
|
||||
R_SUCCEED();
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -102,7 +102,7 @@ namespace ams::time {
|
|||
}
|
||||
}
|
||||
|
||||
return ResultSuccess();
|
||||
R_SUCCEED();
|
||||
}
|
||||
|
||||
bool IsInitialized() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue