about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/emu/x64runf20f.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/x64runf20f.c b/src/emu/x64runf20f.c
index a247a9f0..5a3e0129 100644
--- a/src/emu/x64runf20f.c
+++ b/src/emu/x64runf20f.c
@@ -325,7 +325,7 @@ uintptr_t RunF20F(x64emu_t *emu, rex_t rex, uintptr_t addr, int *step)
             GETEX(2);

             tmp8u = F8&0x3f;

             tmp8s = F8&0x3f;

-            tmp64u = (1<<(tmp8s+1)-1);

+            tmp64u = (1<<(tmp8s+1))-1;

             EX->q[0] &=~(tmp64u<<tmp8u);

             EX->q[0] |= (GX->q[0]&tmp64u)<<tmp8u;

         }

@@ -342,7 +342,7 @@ uintptr_t RunF20F(x64emu_t *emu, rex_t rex, uintptr_t addr, int *step)
             GETEX(2);

             tmp8u = GX->ub[8]&0x3f;

             tmp8s = GX->ub[9]&0x3f;

-            tmp64u = (1<<(tmp8s+1)-1);

+            tmp64u = (1<<(tmp8s+1))-1;

             EX->q[0] &=~(tmp64u<<tmp8u);

             EX->q[0] |= (GX->q[0]&tmp64u)<<tmp8u;

         }