ams: revamp assertion system

This commit is contained in:
Michael Scire
2020-02-22 23:05:14 -08:00
parent 9572fb2ce3
commit 40400aee1f
168 changed files with 1014 additions and 696 deletions

View File

@@ -630,7 +630,7 @@ namespace ams::dmnt::cheat::impl {
/* However, I don't actually believe it is possible for this to happen. */
/* I guess we'll throw a fatal error here, so as to encourage me to fix the VM */
/* in the event that someone triggers it? I don't know how you'd do that. */
R_ASSERT(ResultVirtualMachineInvalidConditionDepth());
R_ABORT_UNLESS(ResultVirtualMachineInvalidConditionDepth());
}
}