diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2024-01-16 17:56:43 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2024-01-16 17:56:43 +0100 |
| commit | 68c7586c4c2c80903af142d6e219562612d5cc7a (patch) | |
| tree | dcd5d2c78f42a2bf75ac9d5b666c589e7a92a2b0 /src | |
| parent | 9549a3599c6b785af8644aec5e03cce5922c5969 (diff) | |
| download | box64-68c7586c4c2c80903af142d6e219562612d5cc7a.tar.gz box64-68c7586c4c2c80903af142d6e219562612d5cc7a.zip | |
[INTERPRETER] Fixed D7 opcode
Diffstat (limited to 'src')
| -rw-r--r-- | src/emu/x64run.c | 5 |
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 |