Let's set a bit in LDR that should apparently be set.

This commit is contained in:
Henrik Rydgard 2013-01-17 00:15:40 +01:00
parent f493aad0fe
commit e635be5797

View file

@ -168,8 +168,10 @@ void ARMXEmitter::FlushIcacheSection(u8 *start, u8 *end)
#elif defined(BLACKBERRY)
msync(start, end - start, MS_SYNC | MS_INVALIDATE_ICACHE);
#else
#ifndef _WIN32
__builtin___clear_cache (start, end);
#endif
#endif
}
void ARMXEmitter::SetCC(CCFlags cond)
@ -486,7 +488,7 @@ void ARMXEmitter::MRS (ARMReg dest)
void ARMXEmitter::WriteStoreOp(u32 op, ARMReg dest, ARMReg src, Operand2 op2)
{
if (op2.GetData() == 0) // Don't index
Write32(condition | (op << 20) | (dest << 16) | (src << 12) | op2.Imm12());
Write32(condition | 0x00800000 | (op << 20) | (dest << 16) | (src << 12) | op2.Imm12());
else
Write32(condition | (op << 20) | (3 << 23) | (dest << 16) | (src << 12) | op2.Imm12());
}