mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-20 09:55:07 -04:00
ams: revamp assertion system
This commit is contained in:
parent
9572fb2ce3
commit
40400aee1f
168 changed files with 1014 additions and 696 deletions
|
@ -25,10 +25,10 @@ namespace ams::hid {
|
|||
|
||||
/* Helper. */
|
||||
void InitializeHid() {
|
||||
R_ASSERT(smInitialize());
|
||||
R_ABORT_UNLESS(smInitialize());
|
||||
ON_SCOPE_EXIT { smExit(); };
|
||||
{
|
||||
R_ASSERT(hidInitialize());
|
||||
R_ABORT_UNLESS(hidInitialize());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue