mirror of
https://github.com/azahar-emu/dynarmic
synced 2025-11-07 07:29:59 +01:00
emit_arm64_a64: Use correct bitwidth in LinkBlockFast
This commit is contained in:
parent
71b687e549
commit
ce1ba43fea
@ -65,8 +65,8 @@ void EmitA64Terminal(oaknut::CodeGenerator& code, EmitContext& ctx, IR::Term::Li
|
|||||||
EmitBlockLinkRelocation(code, ctx, terminal.next);
|
EmitBlockLinkRelocation(code, ctx, terminal.next);
|
||||||
}
|
}
|
||||||
|
|
||||||
code.MOV(Wscratch0, A64::LocationDescriptor{terminal.next}.PC());
|
code.MOV(Xscratch0, A64::LocationDescriptor{terminal.next}.PC());
|
||||||
code.STR(Wscratch0, Xstate, offsetof(A64JitState, pc));
|
code.STR(Xscratch0, Xstate, offsetof(A64JitState, pc));
|
||||||
EmitRelocation(code, ctx, LinkTarget::ReturnToDispatcher);
|
EmitRelocation(code, ctx, LinkTarget::ReturnToDispatcher);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user