about summary refs log tree commit diff stats
path: root/src/emu/x64rundb.c
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-07-11 17:22:27 +0200
committerptitSeb <sebastien.chev@gmail.com>2021-07-11 17:22:27 +0200
commita7422d11edc92f16e8a0d6a479d5efb016a70c19 (patch)
treec67c3478dcde19f781b692cdaad844f8c4231147 /src/emu/x64rundb.c
parentb39fbc0cfddea724f877756c587571127bd22edf (diff)
downloadbox64-a7422d11edc92f16e8a0d6a479d5efb016a70c19.tar.gz
box64-a7422d11edc92f16e8a0d6a479d5efb016a70c19.zip
Splitted mmx and x87 register (from box86)
Diffstat (limited to 'src/emu/x64rundb.c')
-rw-r--r--src/emu/x64rundb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/x64rundb.c b/src/emu/x64rundb.c
index 0cd9c5dd..cb5c180c 100644
--- a/src/emu/x64rundb.c
+++ b/src/emu/x64rundb.c
@@ -163,11 +163,11 @@ int RunDB(x64emu_t *emu, rex_t rex)
                 fpu_do_push(emu);

                 memcpy(&STld(0).ld, ED, 10);

                 LD2D(&STld(0), &ST(0).d);

-                STld(0).ref = ST0.q;

+                STld(0).uref = ST0.q;

                 break;

             case 7: /* FSTP tbyte */

                 GETED(0);

-                if(ST0.q!=STld(0).ref)

+                if(ST0.q!=STld(0).uref)

                     D2LD(&ST0.d, ED);

                 else

                     memcpy(ED, &STld(0).ld, 10);