ams: revamp assertion system
This commit is contained in:
1 parent
9572fb2ce3
commit
40400aee1f
168 files changed
+1014
-696
No files matched your search
@@ -39,8 +39,8 @@ namespace ams::fatal::srv {
|
||||
public:
|
||||
ServiceContext() {
|
||||
this->context.ClearState();
|
||||
R_ASSERT(eventCreate(&this->context.erpt_event, false));
|
||||
R_ASSERT(eventCreate(&this->context.battery_event, false));
|
||||
R_ABORT_UNLESS(eventCreate(&this->context.erpt_event, false));
|
||||
R_ABORT_UNLESS(eventCreate(&this->context.battery_event, false));
|
||||
this->has_thrown = false;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user