From a074115bf5f0806d2e50ac2c71a3978e11026ad1 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Sun, 13 Jun 2021 12:31:20 +0200 Subject: Fixed issue with LOCK REX.W XADD opcode --- src/emu/x64runf0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/emu/x64runf0.c b/src/emu/x64runf0.c index 4a3a4763..1a0ada10 100644 --- a/src/emu/x64runf0.c +++ b/src/emu/x64runf0.c @@ -413,7 +413,7 @@ int RunF0(x64emu_t *emu, rex_t rex) if(rex.w) { do { tmp64u = arm64_lock_read_dd(ED); - tmp64u2 = add64(emu, tmp64u, GD->dword[0]); + tmp64u2 = add64(emu, tmp64u, GD->q[0]); } while(arm64_lock_write_dd(ED, tmp64u2)); GD->q[0] = tmp64u; } else { -- cgit 1.4.1