From b32d989a101175598f720e4abcf328e619c9ba52 Mon Sep 17 00:00:00 2001 From: Eladash Date: Tue, 10 Nov 2020 03:07:07 +0200 Subject: [PATCH] Fix PPU stack contents on allocation --- rpcs3/Emu/Memory/vm.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/rpcs3/Emu/Memory/vm.cpp b/rpcs3/Emu/Memory/vm.cpp index 196fe08794..5de4dd1d80 100644 --- a/rpcs3/Emu/Memory/vm.cpp +++ b/rpcs3/Emu/Memory/vm.cpp @@ -936,6 +936,7 @@ namespace vm if (!shm) { utils::memory_protect(g_base_addr + addr, size, utils::protection::no); + std::memset(g_sudo_addr + addr, 0, size); } else {