Jit_LoadStore: Fix dbat memory access

Was broken by e10b715666
This commit is contained in:
MerryMage 2017-04-14 14:06:13 +01:00
parent 0d98ffa2b2
commit b792299ef1
1 changed files with 1 additions and 1 deletions

View File

@ -348,7 +348,7 @@ void Jit64::dcbz(UGeckoInstruction inst)
MOV(64, R(RSCRATCH2), ImmPtr(&PowerPC::dbat_table[0]));
PUSH(RSCRATCH);
SHR(32, R(RSCRATCH), Imm8(PowerPC::BAT_INDEX_SHIFT));
TEST(32, MComplex(RSCRATCH, RSCRATCH2, SCALE_4, 0), Imm32(PowerPC::BAT_PHYSICAL_BIT));
TEST(32, MComplex(RSCRATCH2, RSCRATCH, SCALE_4, 0), Imm32(PowerPC::BAT_PHYSICAL_BIT));
POP(RSCRATCH);
FixupBranch slow = J_CC(CC_Z, true);