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.
This commit is contained in:
parent
dde8b24d00
commit
6f028257d7
|
@ -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;
|
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++)
|
for (int i = 0; i < 8; i++)
|
||||||
{
|
{
|
||||||
u32 pte = bswap(*(u32*)&base_mem[pteg_addr]);
|
u32 pte = bswap(*(u32*)&base_mem[pteg_addr]);
|
||||||
|
|
Loading…
Reference in New Issue