diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2022-07-03 00:06:19 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2022-07-03 00:06:19 +0200 |
| commit | de30d37ba91b093d459365a93ea9cc4418fc502a (patch) | |
| tree | f61e6ffa33ee86a83b242ab9a250ca3b79dee161 /src/include | |
| parent | e2b6e32fe9326c3ed9a3a89b039a2544d48bf030 (diff) | |
| download | box64-de30d37ba91b093d459365a93ea9cc4418fc502a.tar.gz box64-de30d37ba91b093d459365a93ea9cc4418fc502a.zip | |
Reworked TLS to limit resizing, as it tends to break Unity3D games
Diffstat (limited to 'src/include')
| -rwxr-xr-x | src/include/box64context.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/include/box64context.h b/src/include/box64context.h index 1a4fd077..1ec9855e 100755 --- a/src/include/box64context.h +++ b/src/include/box64context.h @@ -38,8 +38,10 @@ typedef void* (*vkprocaddess_t)(void* instance, const char* name); #define MAX_SIGNAL 64 typedef struct tlsdatasize_s { - int32_t tlssize; - void* tlsdata; + int tlssize; + int n_elfs; + void* data; + void* ptr; } tlsdatasize_t; void free_tlsdatasize(void* p); |