diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2021-06-13 12:31:20 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2021-06-13 12:31:20 +0200 |
| commit | a074115bf5f0806d2e50ac2c71a3978e11026ad1 (patch) | |
| tree | 163b53cdf70a383cafb38e3cd3189e0b5b5988c4 /src | |
| parent | c3aa06817932cabdd1e8ca2f9223b889a246dc88 (diff) | |
| download | box64-a074115bf5f0806d2e50ac2c71a3978e11026ad1.tar.gz box64-a074115bf5f0806d2e50ac2c71a3978e11026ad1.zip | |
Fixed issue with LOCK REX.W XADD opcode
Diffstat (limited to 'src')
| -rw-r--r-- | src/emu/x64runf0.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |