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

+1 -1
View File
@@ -25,7 +25,7 @@ namespace ams::fatal::srv {
/* Event creator. */
Handle GetFatalDirtyEventReadableHandle() {
Event evt;
R_ASSERT(setsysBindFatalDirtyFlagEvent(&evt));
R_ABORT_UNLESS(setsysBindFatalDirtyFlagEvent(&evt));
return evt.revent;
}