about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-07-17 12:05:04 +0200
committerptitSeb <sebastien.chev@gmail.com>2024-07-17 12:05:04 +0200
commitd5ec4692d3f53792c50a39424d36cc2db577741b (patch)
tree1cb28031ad747167a7c3c6e0aafccb7fdaa32c19 /src
parenta62336d433440413d7588f0f341b3a8419f7e4ce (diff)
downloadbox64-d5ec4692d3f53792c50a39424d36cc2db577741b.tar.gz
box64-d5ec4692d3f53792c50a39424d36cc2db577741b.zip
[INTERPRETER] Fixed some issue with INT opcodes and STEP logic
Diffstat (limited to 'src')
-rw-r--r--src/emu/x64run.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/x64run.c b/src/emu/x64run.c
index 01eda2a8..126573dc 100644
--- a/src/emu/x64run.c
+++ b/src/emu/x64run.c
@@ -1514,14 +1514,14 @@ x64emurun:
                 // 32bits syscall
                 #ifndef TEST_INTERPRETER
                 x86Syscall(emu);
-                STEP;
+                STEP2;
                 #else
                 test->notest = 1;
                 #endif
             } else {
                 #ifndef TEST_INTERPRETER
                 emit_signal(emu, SIGSEGV, (void*)R_RIP, 0);
-                STEP;
+                STEP2;
                 #else
                 test->notest = 1;
                 #endif
@@ -1537,7 +1537,7 @@ x64emurun:
             CHECK_FLAGS(emu);
             if(ACCESS_FLAG(F_OF))
                 emit_signal(emu, SIGSEGV, (void*)R_RIP, 128);
-            STEP;
+            STEP2;
             #endif
             break;
         case 0xCF:                      /* IRET */