about summary refs log tree commit diff stats
path: root/src/emu
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2025-08-25 16:44:42 +0200
committerptitSeb <sebastien.chev@gmail.com>2025-08-25 16:44:42 +0200
commit9effd3f711742412f6f163d7e0f8e2992cc7e49f (patch)
tree1b8f7b0337ac6412c6a037bad4baaef707acdda5 /src/emu
parentd71200de69bb38248ebeb482cc2366e5d1e0a9c1 (diff)
downloadbox64-9effd3f711742412f6f163d7e0f8e2992cc7e49f.tar.gz
box64-9effd3f711742412f6f163d7e0f8e2992cc7e49f.zip
[INTERP] Fixed a regression introduced with a17811f4a615f417a5742dde62ab683cf80020b0
Diffstat (limited to 'src/emu')
-rw-r--r--src/emu/x64runf0.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/x64runf0.c b/src/emu/x64runf0.c
index 43b6b1d7..2479fc15 100644
--- a/src/emu/x64runf0.c
+++ b/src/emu/x64runf0.c
@@ -966,8 +966,8 @@ uintptr_t RunF0(x64emu_t *emu, rex_t rex, uintptr_t addr)
                                         SET_FLAG(F_ZF);

                                     } else {

                                         CLEAR_FLAG(F_ZF);

-                                        R_RAX = tmp64u&0xffffffff;

-                                        R_RDX = (tmp64u>>32)&0xffffffff;

+                                        R_RAX = tmp64u2&0xffffffff;

+                                        R_RDX = (tmp64u2>>32)&0xffffffff;

                                     }

                                 }

 #else