Use the IsThumb method to check if its a thumb opcode
This commit is contained in:
parent
b55dce1765
commit
d6aaa4c932
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ namespace ChocolArm64.Instructions
|
|||
|
||||
private static void EmitAluWritePc(ILEmitterCtx context)
|
||||
{
|
||||
if (context.CurrOp is OpCodeT16)
|
||||
if (IsThumb(context.CurrOp))
|
||||
{
|
||||
context.EmitLdc_I4(~1);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue