about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-03-05 16:56:16 +0100
committerptitSeb <sebastien.chev@gmail.com>2021-03-05 16:56:16 +0100
commite9fc44761c220d01101a53ec34286450de9f0c5a (patch)
tree196a98a8e1747f95d61cd3786382e8e95759d1a2
parenta6337819c0975b733ab8784dedbea7707da06a6f (diff)
downloadbox64-e9fc44761c220d01101a53ec34286450de9f0c5a.tar.gz
box64-e9fc44761c220d01101a53ec34286450de9f0c5a.zip
Fixed 32bits BE opcode to clear upper part of reg
-rwxr-xr-xsrc/emu/x64run.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/x64run.c b/src/emu/x64run.c
index 4f3b9986..91b4a4fc 100755
--- a/src/emu/x64run.c
+++ b/src/emu/x64run.c
@@ -364,7 +364,7 @@ x64emurun:
             if(rex.w)
                 emu->regs[(opcode&7)+(rex.b<<3)].q[0] = F64;
             else
-                emu->regs[(opcode&7)+(rex.b<<3)].dword[0] = F32;
+                emu->regs[(opcode&7)+(rex.b<<3)].q[0] = F32;
             break;
 
         case 0xC1:                      /* GRP2 Ed,Ib */