mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-08-05 17:58:28 +02:00
Fix RET Xn translation (#1242)
This commit is contained in:
@@ -71,7 +71,9 @@ namespace ARMeilleure.Instructions
|
|||||||
|
|
||||||
public static void Ret(ArmEmitterContext context)
|
public static void Ret(ArmEmitterContext context)
|
||||||
{
|
{
|
||||||
context.Return(GetIntOrZR(context, RegisterAlias.Lr));
|
OpCodeBReg op = (OpCodeBReg)context.CurrOp;
|
||||||
|
|
||||||
|
context.Return(GetIntOrZR(context, op.Rn));
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void Tbnz(ArmEmitterContext context) => EmitTb(context, onNotZero: true);
|
public static void Tbnz(ArmEmitterContext context) => EmitTb(context, onNotZero: true);
|
||||||
|
Reference in New Issue
Block a user