diff --git a/rpcs3/util/vm_native.cpp b/rpcs3/util/vm_native.cpp index d174bbf11a..d557599231 100644 --- a/rpcs3/util/vm_native.cpp +++ b/rpcs3/util/vm_native.cpp @@ -374,6 +374,10 @@ namespace utils // Mapped already, nothing to do. this->unmap(mapped); } + else + { + ptr = mapped; + } } return static_cast(ptr);