about summary refs log tree commit diff stats
path: root/src/emu
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2023-07-08 14:26:07 +0200
committerptitSeb <sebastien.chev@gmail.com>2023-07-08 14:26:07 +0200
commitaa39a923ed05ac9851e954508b34c202b099f37e (patch)
tree265007381afe7c3405592100be6dec5f4e71569b /src/emu
parent57b7729ea7ed8da819865cbfd9c5a52815ae627f (diff)
downloadbox64-aa39a923ed05ac9851e954508b34c202b099f37e.tar.gz
box64-aa39a923ed05ac9851e954508b34c202b099f37e.zip
Improved BOX64_MALLOC_HACK=2 and the glAleternate mecanism (help steam & heroic and other libcef based software)
Diffstat (limited to 'src/emu')
-rwxr-xr-xsrc/emu/x64run.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emu/x64run.c b/src/emu/x64run.c
index 98fc4564..6465ab5e 100755
--- a/src/emu/x64run.c
+++ b/src/emu/x64run.c
@@ -1644,6 +1644,7 @@ x64emurun:
         case 0xE9:                      /* JMP Id */
             tmp32s = F32S; // jmp is relative
             addr += tmp32s;
+            addr = (uintptr_t)getAlternate((void*)addr);
             STEP2
             break;