diff options
| author | Ryan Houdek <Sonicadvance1@gmail.com> | 2014-10-21 12:56:28 +0000 |
|---|---|---|
| committer | Ryan Houdek <Sonicadvance1@gmail.com> | 2014-10-21 12:56:28 +0000 |
| commit | a22fcf152dbdd26509cfb6972d46001aaba5487c (patch) | |
| tree | 3b71371022a69930fd6b323c037694a4fc7ec488 /Source/Core | |
| parent | 080883ad9e5c2d1961ded65042aea544161c2d4a (diff) | |
Disable the fake vmem hack on 32bit targets.
This hack is incompatible with these targets due to how much memory space we allocate.
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/HW/Memmap.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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; |
