about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-01-16 17:56:43 +0100
committerptitSeb <sebastien.chev@gmail.com>2024-01-16 17:56:43 +0100
commit68c7586c4c2c80903af142d6e219562612d5cc7a (patch)
treedcd5d2c78f42a2bf75ac9d5b666c589e7a92a2b0 /src
parent9549a3599c6b785af8644aec5e03cce5922c5969 (diff)
downloadbox64-68c7586c4c2c80903af142d6e219562612d5cc7a.tar.gz
box64-68c7586c4c2c80903af142d6e219562612d5cc7a.zip
[INTERPRETER] Fixed D7 opcode
Diffstat (limited to 'src')
-rw-r--r--src/emu/x64run.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/emu/x64run.c b/src/emu/x64run.c
index b3f3b9d5..995144bb 100644
--- a/src/emu/x64run.c
+++ b/src/emu/x64run.c
@@ -1506,10 +1506,7 @@ x64emurun:
             };
             break;
         case 0xD7:                      /* XLAT */
-            if(rex.w || rex.is32bits)
-                R_AL = *(uint8_t*)(R_RBX + R_AL);
-            else
-                R_AL = *(uint8_t*)((uintptr_t)R_EBX + R_AL);
+            R_AL = *(uint8_t*)(R_RBX + R_AL);
             break;
         case 0xD8:                      /* x87 opcodes */
             #ifdef TEST_INTERPRETER