mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-30 14:35:17 -04:00
ams: revamp assertion system
This commit is contained in:
parent
9572fb2ce3
commit
40400aee1f
168 changed files with 1014 additions and 696 deletions
|
@ -62,7 +62,7 @@ namespace ams::pinmux {
|
|||
}
|
||||
|
||||
/* Ensure we found an appropriate config. */
|
||||
AMS_ASSERT(configs != nullptr);
|
||||
AMS_ABORT_UNLESS(configs != nullptr);
|
||||
|
||||
for (size_t i = 0; i < num_configs; i++) {
|
||||
UpdatePad(configs[i].name, configs[i].val, configs[i].mask);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue