From a22fcf152dbdd26509cfb6972d46001aaba5487c Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Tue, 21 Oct 2014 12:56:28 +0000 Subject: [PATCH] Disable the fake vmem hack on 32bit targets. This hack is incompatible with these targets due to how much memory space we allocate. --- Source/Core/Core/HW/Memmap.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/Core/Core/HW/Memmap.cpp b/Source/Core/Core/HW/Memmap.cpp index 60ffc3fe94..f3f95e4a1c 100644 --- a/Source/Core/Core/HW/Memmap.cpp +++ b/Source/Core/Core/HW/Memmap.cpp @@ -143,7 +143,11 @@ void Init() { bool wii = SConfig::GetInstance().m_LocalCoreStartupParameter.bWii; bMMU = SConfig::GetInstance().m_LocalCoreStartupParameter.bMMU; +#ifndef _ARCH_32 + // The fake VMEM hack's address space is above the memory space that we allocate on 32bit targets + // Disable it entirely on 32bit targets. bFakeVMEM = !bMMU; +#endif u32 flags = 0; if (wii) flags |= MV_WII_ONLY;