about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-03-09 19:37:37 +0100
committerptitSeb <sebastien.chev@gmail.com>2021-03-09 19:37:37 +0100
commit2c86fb8c731c8146ba4e68daf9a517b34dd93630 (patch)
tree1ee87bbbcaeab81f7969ff6b46bbe4deec765784 /src
parent25937c5b7328d94b95c139acc5764916de4b98dd (diff)
downloadbox64-2c86fb8c731c8146ba4e68daf9a517b34dd93630.tar.gz
box64-2c86fb8c731c8146ba4e68daf9a517b34dd93630.zip
Add handling of multiple 66 prefix
Diffstat (limited to 'src')
-rw-r--r--src/emu/x64run66.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/x64run66.c b/src/emu/x64run66.c
index 74d08a3f..2628386a 100644
--- a/src/emu/x64run66.c
+++ b/src/emu/x64run66.c
@@ -37,7 +37,7 @@ int Run66(x64emu_t *emu, rex_t rex)
 

     opcode = F8;

 

-    while(opcode == 0x2E)   // ignoring CS:

+    while((opcode==0x2E) || (opcode==0x66))   // ignoring CS: or multiple 0x66

         opcode = F8;

 

     // REX prefix before the F0 are ignored