From f7e07f8f3b4eeb46bb424d8761a372bdfde28795 Mon Sep 17 00:00:00 2001 From: degasus Date: Sat, 1 Oct 2016 17:38:09 +0200 Subject: [PATCH] MMU: Don't generate virtual memory area on 32bit builds. There is no JIT, so no need for fastmem. This memory won't be used at all. --- Source/Core/Core/PowerPC/MMU.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/Core/Core/PowerPC/MMU.cpp b/Source/Core/Core/PowerPC/MMU.cpp index 2237421f5c..8c293c31c9 100644 --- a/Source/Core/Core/PowerPC/MMU.cpp +++ b/Source/Core/Core/PowerPC/MMU.cpp @@ -1206,7 +1206,10 @@ void DBATUpdated() UpdateFakeMMUBat(dbat_table, 0x40000000); UpdateFakeMMUBat(dbat_table, 0x70000000); } + +#ifndef _ARCH_32 Memory::UpdateLogicalMemory(dbat_table); +#endif // IsOptimizable*Address and dcbz depends on the BAT mapping, so we need a flush here. JitInterface::ClearSafe();