|
|
@@ -118,9 +118,13 @@ namespace ARMeilleure.Instructions
|
|
|
|
|
|
if (IsThumb(context.CurrOp))
|
|
|
{
|
|
|
- context.StoreToContext();
|
|
|
bool isReturn = IsA32Return(context);
|
|
|
|
|
|
+ if (!isReturn)
|
|
|
+ {
|
|
|
+ context.StoreToContext();
|
|
|
+ }
|
|
|
+
|
|
|
Operand addr = context.BitwiseOr(value, Const(1));
|
|
|
|
|
|
InstEmitFlowHelper.EmitVirtualJump(context, addr, isReturn);
|