From 6f028257d7277b3f5f671c8f7878ac97c021a365 Mon Sep 17 00:00:00 2001 From: Fiora Date: Thu, 1 Jan 2015 14:47:30 -0800 Subject: [PATCH] MMU: remove code that looks totally wrong I don't think this affects any games (who puts PTEs in MEM2?) but it didn't make any sense. --- Source/Core/Core/HW/MemmapFunctions.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/Source/Core/Core/HW/MemmapFunctions.cpp b/Source/Core/Core/HW/MemmapFunctions.cpp index 64674168b3..22f21a2602 100644 --- a/Source/Core/Core/HW/MemmapFunctions.cpp +++ b/Source/Core/Core/HW/MemmapFunctions.cpp @@ -773,9 +773,6 @@ static __forceinline u32 TranslatePageAddress(const u32 _Address, const XCheckTL u32 pteg_addr = ((hash & PowerPC::ppcState.pagetable_hashmask) << 6) | PowerPC::ppcState.pagetable_base; - if ((pteg_addr >> 28) == 1) - base_mem = Memory::m_pEXRAM; - for (int i = 0; i < 8; i++) { u32 pte = bswap(*(u32*)&base_mem[pteg_addr]);