mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-15 07:34:23 -04:00
sts: add STS_UNREACHABLE_DEFAULT_CASE()
This commit is contained in:
parent
609a302e16
commit
add18d868f
23 changed files with 50 additions and 87 deletions
|
@ -144,14 +144,9 @@ namespace sts::boot2 {
|
|||
|
||||
switch (pm::shell::LaunchTitle(&process_id, loc, launch_flags)) {
|
||||
case ResultKernelResourceExhausted:
|
||||
/* Out of resource! */
|
||||
std::abort();
|
||||
case ResultKernelOutOfMemory:
|
||||
/* Out of memory! */
|
||||
std::abort();
|
||||
case ResultKernelLimitReached:
|
||||
/* Limit Reached! */
|
||||
std::abort();
|
||||
STS_ASSERT(false);
|
||||
default:
|
||||
/* We don't care about other issues. */
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue