mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 14:31:24 +12:00
Fix PPU stack contents on allocation
This commit is contained in:
parent
d1ee7c651f
commit
b32d989a10
1 changed files with 1 additions and 0 deletions
|
@ -936,6 +936,7 @@ namespace vm
|
||||||
if (!shm)
|
if (!shm)
|
||||||
{
|
{
|
||||||
utils::memory_protect(g_base_addr + addr, size, utils::protection::no);
|
utils::memory_protect(g_base_addr + addr, size, utils::protection::no);
|
||||||
|
std::memset(g_sudo_addr + addr, 0, size);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue