about summary refs log tree commit diff stats
path: root/src/emu
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu')
-rw-r--r--src/emu/x64run660f.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/emu/x64run660f.c b/src/emu/x64run660f.c
index 6f0a4d9d..1e7fcdf8 100644
--- a/src/emu/x64run660f.c
+++ b/src/emu/x64run660f.c
@@ -647,7 +647,10 @@ int Run660F(x64emu_t *emu, rex_t rex)
                 GETED(1);

                 GETGX;

                 tmp8u = F8;

-                GX->ud[tmp8u&0x3] = ED->dword[0];

+                if(rex.w)

+                    GX->q[tmp8u&0x1] = ED->q[0];

+                else

+                    GX->ud[tmp8u&0x3] = ED->dword[0];

                 break;

 

             case 0x40:  /* DPPS Gx, Ex, Ib */