about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2023-11-10 10:56:17 +0100
committerptitSeb <sebastien.chev@gmail.com>2023-11-10 10:56:17 +0100
commit93f665eb9cbba62968114f73c09085f427c75f17 (patch)
tree1dbbd437e7ed5ab40e9e29017c90f379531b36e8 /src
parent113c879d7ad51664df6172508e44377c54eb28d2 (diff)
downloadbox64-93f665eb9cbba62968114f73c09085f427c75f17.tar.gz
box64-93f665eb9cbba62968114f73c09085f427c75f17.zip
[INTERPRETER] Fixed a typo in 66 0F 2C opcode
Diffstat (limited to 'src')
-rw-r--r--src/emu/x64run660f.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emu/x64run660f.c b/src/emu/x64run660f.c
index 83841f4b..81cbbf94 100644
--- a/src/emu/x64run660f.c
+++ b/src/emu/x64run660f.c
@@ -209,14 +209,14 @@ uintptr_t Run660F(x64emu_t *emu, rex_t rex, uintptr_t addr)
         GETGM;

         tmp64s = EX->d[0];

         if (tmp64s==(int32_t)tmp64s && !isnan(EX->d[0]))

-            GX->sd[0] = (int32_t)tmp64s;

+            GM->sd[0] = (int32_t)tmp64s;

         else

-            GX->sd[0] = INT32_MIN;

+            GM->sd[0] = INT32_MIN;

         tmp64s = EX->d[1];

         if (tmp64s==(int32_t)tmp64s && !isnan(EX->d[1]))

-            GX->sd[1] = (int32_t)tmp64s;

+            GM->sd[1] = (int32_t)tmp64s;

         else

-            GX->sd[1] = INT32_MIN;

+            GM->sd[1] = INT32_MIN;

         break;

     case 0x2D:                      /* CVTPD2PI Gm, Ex */

         nextop = F8;