jit: fix BLX_reg with rn=lr

This commit is contained in:
RSDuck
2019-07-15 19:17:10 +02:00
committed by RSDuck
parent 411fb57c07
commit 8ddc4d5904
2 changed files with 2 additions and 4 deletions

View File

@ -359,10 +359,7 @@ Info Decode(bool thumb, u32 num, u32 instr)
}
if (data & A_Link)
{
res.DstRegs |= 1 << 14;
res.SrcRegs |= 1 << 15;
}
if (res.Kind == ak_LDM)
res.DstRegs |= instr & (1 << 15); // this is right