ams: revamp assertion system

This commit is contained in:
Michael Scire committed 2020-02-22 23:05:14 -08:00
1 parent 9572fb2ce3
commit 40400aee1f
168 files changed
+1014 -696

No files matched your search

@@ -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());
}
}