diff options
| author | Fiora <fioraaeterna@gmail.com> | 2015-01-01 14:47:30 -0800 |
|---|---|---|
| committer | Fiora <fioraaeterna@gmail.com> | 2015-01-05 10:34:57 -0800 |
| commit | 6f028257d7277b3f5f671c8f7878ac97c021a365 (patch) | |
| tree | 677df0696c1c999bfbc2bdbbb5507fdd931fd825 /Source | |
| parent | dde8b24d004100414748921d59e51a0e89ae8ecb (diff) | |
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.
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/Core/HW/MemmapFunctions.cpp | 3 |
1 files changed, 0 insertions, 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]); |
