From 6502d933df598f01e4938d241b454efcff95b2e6 Mon Sep 17 00:00:00 2001 From: eladash Date: Mon, 11 Mar 2019 08:25:37 +0200 Subject: [PATCH] Fix stack memory view on the debugger the debugger uses super ptr which was unmapped for stack. --- rpcs3/Emu/Memory/vm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/Memory/vm.cpp b/rpcs3/Emu/Memory/vm.cpp index 8c6ac50612..38fc254e9f 100644 --- a/rpcs3/Emu/Memory/vm.cpp +++ b/rpcs3/Emu/Memory/vm.cpp @@ -638,7 +638,7 @@ namespace vm // Special path for 4k-aligned pages m_common = std::make_shared(size); verify(HERE), m_common->map_critical(vm::base(addr), utils::protection::no) == vm::base(addr); - verify(HERE), m_common->map_critical(vm::get_super_ptr(addr), utils::protection::no) == vm::get_super_ptr(addr); + verify(HERE), m_common->map_critical(vm::get_super_ptr(addr), utils::protection::rw) == vm::get_super_ptr(addr); } }