mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-02 23:59:49 -04:00
stratosphere: TODO: panic -> std::abort()
This commit is contained in:
parent
41f5b39f6b
commit
03a425a579
7 changed files with 8 additions and 12 deletions
|
@ -73,7 +73,7 @@ class AutoCloseMap {
|
|||
void Close() {
|
||||
if (this->mapped_address) {
|
||||
if (R_FAILED(svcUnmapProcessMemory(this->mapped_address, this->process_handle, this->base_address, this->size))) {
|
||||
/* TODO: panic(). */
|
||||
std::abort();
|
||||
}
|
||||
this->mapped_address = NULL;
|
||||
}
|
||||
|
|
|
@ -207,8 +207,7 @@ Result NsoUtils::CalculateNsoLoadExtents(u32 addspace_type, u32 args_size, NsoLo
|
|||
addspace_size = 0x7FF8000000ULL;
|
||||
break;
|
||||
default:
|
||||
/* TODO: Panic. */
|
||||
return ResultKernelOutOfMemory;
|
||||
std::abort();
|
||||
}
|
||||
} else {
|
||||
if (addspace_type & 2) {
|
||||
|
|
|
@ -94,8 +94,7 @@ class NsoUtils {
|
|||
case 12:
|
||||
return "sdk";
|
||||
default:
|
||||
/* TODO: Panic. */
|
||||
return "?";
|
||||
std::abort();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue