summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authordegasus <wickmarkus@web.de>2016-10-01 17:38:09 +0200
committerdegasus <wickmarkus@web.de>2016-10-03 10:26:23 +0200
commitf7e07f8f3b4eeb46bb424d8761a372bdfde28795 (patch)
treeadd8dcb175984bd17da8fa29dfc21c906f07b917 /Source/Core
parent0de1c6c99c5b81e25a816ec3e706c66faa571dd0 (diff)
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.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/PowerPC/MMU.cpp3
1 files changed, 3 insertions, 0 deletions
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();