From 6d821df3a938a93ae3177a78d4c836887492c0d8 Mon Sep 17 00:00:00 2001 From: Ben Vanik Date: Mon, 18 May 2015 18:48:48 -0700 Subject: [PATCH] Zeroing heap memory. --- src/xenia/memory.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xenia/memory.cc b/src/xenia/memory.cc index 860641987..e78edfd98 100644 --- a/src/xenia/memory.cc +++ b/src/xenia/memory.cc @@ -380,6 +380,7 @@ uint32_t Memory::SystemHeapAlloc(uint32_t size, uint32_t alignment, kMemoryProtectRead | kMemoryProtectWrite, false, &address)) { return 0; } + Zero(address, size); return address; }