Let's set a bit in LDR that should apparently be set.
This commit is contained in:
parent
f493aad0fe
commit
e635be5797
1 changed files with 3 additions and 1 deletions
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue