about summary refs log tree commit diff stats
path: root/src/include/elfloader.h
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2022-06-06 17:02:41 +0200
committerptitSeb <sebastien.chev@gmail.com>2022-06-06 17:02:41 +0200
commit1057b88ba72c8c0cd241a7f4de3308a91fe321f9 (patch)
tree6d288c51e5455a3a74daca075386518345f433fd /src/include/elfloader.h
parentde21088bc4d7bcfc97a5cf12fbe22d02ec8c3641 (diff)
downloadbox64-1057b88ba72c8c0cd241a7f4de3308a91fe321f9.tar.gz
box64-1057b88ba72c8c0cd241a7f4de3308a91fe321f9.zip
Fixed some issue with TLS data not beeing updated correctly after ElfInit (fixes Steam version of Ion Fury)
Diffstat (limited to 'src/include/elfloader.h')
-rwxr-xr-xsrc/include/elfloader.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/elfloader.h b/src/include/elfloader.h
index 2cb90df4..ca7a6621 100755
--- a/src/include/elfloader.h
+++ b/src/include/elfloader.h
@@ -34,6 +34,7 @@ void AddSymbols(lib_t *maplib, kh_mapsymbols_t* mapsymbols, kh_mapsymbols_t* wea
 int LoadNeededLibs(elfheader_t* h, lib_t *maplib, needed_libs_t* neededlibs, library_t *deplib, int local, int bindnow, box64context_t *box64, x64emu_t* emu);
 uintptr_t GetElfInit(elfheader_t* h);
 uintptr_t GetElfFini(elfheader_t* h);
+void RefreshElfTLS(elfheader_t* h);
 void RunElfInit(elfheader_t* h, x64emu_t *emu);
 void RunElfFini(elfheader_t* h, x64emu_t *emu);
 void RunDeferedElfInit(x64emu_t *emu);