mirror of
https://github.com/xenia-project/xenia.git
synced 2026-01-01 14:20:13 +01:00
Zeroing heap memory.
This commit is contained in:
parent
0dac9f3f02
commit
6d821df3a9
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue