From fc7695f874f9df1636c06aa0984c7f67a2810a36 Mon Sep 17 00:00:00 2001 From: Ben Vanik Date: Tue, 23 Jun 2015 18:06:37 -0700 Subject: [PATCH] Take the whole 64k page at 0x0. --- src/xenia/memory.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xenia/memory.cc b/src/xenia/memory.cc index 8db471ea3..ef3b919d7 100644 --- a/src/xenia/memory.cc +++ b/src/xenia/memory.cc @@ -180,7 +180,7 @@ int Memory::Initialize() { // Take the first page at 0 so we can check for writes. heaps_.v00000000.AllocFixed( - 0x00000000, 4096, 4096, + 0x00000000, 64 * 1024, 64 * 1024, kMemoryAllocationReserve | kMemoryAllocationCommit, !FLAGS_protect_zero ? kMemoryProtectRead | kMemoryProtectWrite : kMemoryProtectNoAccess);