From 789afe7929043b78a972eb2fd609b231de186f42 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Thu, 26 Apr 2018 19:43:26 -0600 Subject: [PATCH] Loader: fix missing reassignment in AutoCloseMap --- stratosphere/loader/source/ldr_map.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/stratosphere/loader/source/ldr_map.hpp b/stratosphere/loader/source/ldr_map.hpp index f546bf77b..52948f371 100644 --- a/stratosphere/loader/source/ldr_map.hpp +++ b/stratosphere/loader/source/ldr_map.hpp @@ -66,6 +66,7 @@ class AutoCloseMap { if (R_FAILED(svcUnmapProcessMemory(this->mapped_address, this->process_handle, this->base_address, this->size))) { /* TODO: panic(). */ } + this->mapped_address = NULL; } } }; \ No newline at end of file