mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-09-10 13:43:17 +02:00
Fix load/store exclusive/atomic pairwise instructions (#337)
This commit is contained in:
parent
25dd5f4238
commit
267af1f0f7
@ -75,7 +75,7 @@ namespace ChocolArm64.Instruction
|
||||
{
|
||||
Context.EmitLdarg(ATranslatedSub.MemoryArgIdx);
|
||||
Context.EmitLdtmp();
|
||||
Context.EmitLdc_I(8 << Op.Size);
|
||||
Context.EmitLdc_I8(1 << Op.Size);
|
||||
|
||||
Context.Emit(OpCodes.Add);
|
||||
|
||||
@ -145,7 +145,7 @@ namespace ChocolArm64.Instruction
|
||||
{
|
||||
Context.EmitLdarg(ATranslatedSub.MemoryArgIdx);
|
||||
Context.EmitLdint(Op.Rn);
|
||||
Context.EmitLdc_I(8 << Op.Size);
|
||||
Context.EmitLdc_I8(1 << Op.Size);
|
||||
|
||||
Context.Emit(OpCodes.Add);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user