mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-15 15:44:23 -04:00
kern: fix bugs caused by UB + transition to -Os
This commit is contained in:
parent
1b164613a6
commit
3c8e7de915
4 changed files with 49 additions and 45 deletions
|
@ -63,7 +63,7 @@ namespace ams::kern {
|
|||
}
|
||||
[[fallthrough]];
|
||||
case ThreadType_HighPriority:
|
||||
{
|
||||
if (type != ThreadType_Main) {
|
||||
MESOSPHERE_ASSERT(phys_core == GetCurrentCoreId());
|
||||
}
|
||||
[[fallthrough]];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue