stratosphere: TODO: panic -> std::abort()

This commit is contained in:
Michael Scire committed 2019-05-10 03:28:18 -07:00
1 parent 41f5b39f6b
commit 03a425a579
7 files changed
+8 -12

No files matched your search

+1 -1
View File
@@ -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;
}
+1 -2
View File
@@ -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) {
+1 -2
View File
@@ -94,8 +94,7 @@ class NsoUtils {
case 12:
return "sdk";
default:
/* TODO: Panic. */
return "?";
std::abort();
}
}