mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-20 04:36:33 +00:00
Revert "Return the address of the current instruction in EmitSynchronization"
This reverts commit 1331589a22ccf21c02951db96d0335a10738ae4c.
This commit is contained in:
parent
5d42332d75
commit
edbd4bfc29
1 changed files with 2 additions and 3 deletions
|
@ -491,7 +491,7 @@ namespace ARMeilleure.Translation
|
|||
context.MarkLabel(lblEnd);
|
||||
}
|
||||
|
||||
internal static void EmitSynchronization(ArmEmitterContext context)
|
||||
internal static void EmitSynchronization(EmitterContext context)
|
||||
{
|
||||
long countOffs = NativeContext.GetCounterOffset();
|
||||
|
||||
|
@ -505,8 +505,7 @@ namespace ARMeilleure.Translation
|
|||
Operand running = context.Call(typeof(NativeInterface).GetMethod(nameof(NativeInterface.CheckSynchronization)));
|
||||
context.BranchIfTrue(lblExit, running, BasicBlockFrequency.Cold);
|
||||
|
||||
OpCode op = context.CurrOp;
|
||||
context.Return(op != null ? Const(op.Address) : Const(0L));
|
||||
context.Return(Const(0L));
|
||||
|
||||
context.MarkLabel(lblNonZero);
|
||||
count = context.Subtract(count, Const(1));
|
||||
|
|
Loading…
Reference in a new issue