mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-24 11:46:58 -04:00
ams: revamp assertion system
This commit is contained in:
parent
9572fb2ce3
commit
40400aee1f
168 changed files with 1014 additions and 696 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue