ams: revamp assertion system
This commit is contained in:
1 parent
9572fb2ce3
commit
40400aee1f
168 files changed
+1014
-696
No files matched your search
@@ -61,7 +61,7 @@ namespace ams::ro {
|
||||
|
||||
ModuleType GetType() const {
|
||||
const ModuleType type = static_cast<ModuleType>(this->type);
|
||||
AMS_ASSERT(type < ModuleType::Count);
|
||||
AMS_ABORT_UNLESS(type < ModuleType::Count);
|
||||
return type;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user