Use the IsThumb method to check if its a thumb opcode

This commit is contained in:
gdkchan 2019-01-23 15:42:03 -02:00
parent b55dce1765
commit d6aaa4c932

View file

@ -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);