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

This commit is contained in:
Michael Scire 2019-05-10 03:28:18 -07:00
parent 41f5b39f6b
commit 03a425a579
7 changed files with 8 additions and 12 deletions

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;
}