Zeroing heap memory.

This commit is contained in:
Ben Vanik 2015-05-18 18:48:48 -07:00
parent 0dac9f3f02
commit 6d821df3a9
1 changed files with 1 additions and 0 deletions
src/xenia

View File

@ -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;
}