about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-05-15 17:02:22 +0200
committerptitSeb <sebastien.chev@gmail.com>2024-05-15 17:02:22 +0200
commitcea459d1e3f7fac4dea76e4566ebfbe3db529773 (patch)
tree392b1bbc378a27a6d621311793debc19ffc251b2 /src
parentf6cd825ab96ae489026fd5062d0d61321a618482 (diff)
downloadbox64-cea459d1e3f7fac4dea76e4566ebfbe3db529773.tar.gz
box64-cea459d1e3f7fac4dea76e4566ebfbe3db529773.zip
[COSIM] Small change for D9 /6 opcode
Diffstat (limited to 'src')
-rw-r--r--src/emu/x64rund9.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/emu/x64rund9.c b/src/emu/x64rund9.c
index 015dfa07..df39ed3e 100644
--- a/src/emu/x64rund9.c
+++ b/src/emu/x64rund9.c
@@ -257,10 +257,8 @@ uintptr_t RunD9(x64emu_t *emu, rex_t rex, uintptr_t addr)
                 break;

             case 6:     /* FNSTENV m */

                 // warning, incomplete

-                _GETED(0);

-                #ifndef TEST_INTERPRETER

+                GETE8(0);

                 fpu_savenv(emu, (char*)ED, 0);

-                #endif

                 // intruction pointer: 48bits

                 // data (operand) pointer: 48bits

                 // last opcode: 11bits save: 16bits restaured (1st and 2nd opcode only)