about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/emu/x64runf0.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/emu/x64runf0.c b/src/emu/x64runf0.c
index e1dbacea..e0225f57 100644
--- a/src/emu/x64runf0.c
+++ b/src/emu/x64runf0.c
@@ -48,6 +48,8 @@ uintptr_t RunF0(x64emu_t *emu, rex_t rex, uintptr_t addr)
     #endif

 

     opcode = F8;

+    while(opcode==0x2E) // ignoring CS: prefix

+        opcode = F8;

     // REX prefix before the F0 are ignored

     rex.rex = 0;

     if(!rex.is32bits)