From abacf136a046c605f4a475e79d1caa56e2f06155 Mon Sep 17 00:00:00 2001 From: "Dr. Chat" Date: Thu, 4 Jun 2015 16:21:38 -0500 Subject: [PATCH] Protect page 0 with no access --- src/xenia/memory.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/xenia/memory.cc b/src/xenia/memory.cc index 5161d9464..fb9af7e7b 100644 --- a/src/xenia/memory.cc +++ b/src/xenia/memory.cc @@ -179,8 +179,7 @@ int Memory::Initialize() { heaps_.v00000000.AllocFixed( 0x00000000, 4096, 4096, kMemoryAllocationReserve | kMemoryAllocationCommit, - // 0u); - kMemoryProtectRead | kMemoryProtectWrite); + kMemoryProtectNoAccess); // GPU writeback. // 0xC... is physical, 0x7F... is virtual. We may need to overlay these.