ams: avoid UB infinite loops

This commit is contained in:
Michael Scire committed 2020-08-13 17:28:29 -07:00
1 parent 874208b44a
commit 51b5c3d87d
9 files changed
+17 -10

No files matched your search

+1 -1
View File
@@ -139,7 +139,7 @@ namespace ams::kern {
/* Main() is done, and we should never get to this point. */
MESOSPHERE_PANIC("Main Thread continued after exit.");
while (true) { /* ... */ }
AMS_INFINITE_LOOP();
}
}