stratosphere: TODO: panic -> std::abort()
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user