about summary refs log tree commit diff stats
path: root/src/emu
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2025-10-03 10:35:08 +0200
committerptitSeb <sebastien.chev@gmail.com>2025-10-03 10:35:08 +0200
commit5768989e54ef596b77449f11e1910186a835e422 (patch)
treec4a380c09d29eb9933f9e3b920782fb8b5df6575 /src/emu
parentc4c9f1b8cdc3d45a3f17b97556f43cb2133605d7 (diff)
downloadbox64-5768989e54ef596b77449f11e1910186a835e422.tar.gz
box64-5768989e54ef596b77449f11e1910186a835e422.zip
[DYNAREC] Fixe a speed regression introduced with 3fe020572dfc0636ab82bae962c3514134e9e128 (for #3038)
Diffstat (limited to 'src/emu')
-rw-r--r--src/emu/x64emu.c2
-rw-r--r--src/emu/x64run.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/x64emu.c b/src/emu/x64emu.c
index bea8f24b..e32ce693 100644
--- a/src/emu/x64emu.c
+++ b/src/emu/x64emu.c
@@ -560,7 +560,7 @@ void EmuCall(x64emu_t* emu, uintptr_t addr)
         PushExit(emu);
     R_RIP = addr;
     emu->df = d_none;
-    Run(emu, 0, 0);
+    Run(emu, 0);
     emu->quit = 0;  // reset Quit flags...
     emu->df = d_none;
     if(emu->flags.quitonlongjmp && emu->flags.longjmp) {
diff --git a/src/emu/x64run.c b/src/emu/x64run.c
index b3765fc4..58003b80 100644
--- a/src/emu/x64run.c
+++ b/src/emu/x64run.c
@@ -32,7 +32,7 @@
 int RunTest(x64test_t *test)
 #else
 int running32bits = 0;
-int Run(x64emu_t *emu, int step, int need_tf)
+int Run(x64emu_t *emu, int step)
 #endif
 {
     uint8_t opcode;