diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2024-02-15 18:11:57 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2024-02-15 18:11:57 +0100 |
| commit | c5a6875de940f296932154be434d2864e0652da8 (patch) | |
| tree | 278a857811a6bf1d82c945ec647f6846f4a8e029 /src/libtools/sdl2rwops.c | |
| parent | 549e042e678e0909c1a79325fb406fb0081ccac7 (diff) | |
| download | box64-c5a6875de940f296932154be434d2864e0652da8.tar.gz box64-c5a6875de940f296932154be434d2864e0652da8.zip | |
[ELFLOADER] Huge refactor of elfloader and symbol resolution. Some more cleaning need to be done, but that's a first step (should help #422, #360, #1046 and probably others)
Diffstat (limited to 'src/libtools/sdl2rwops.c')
| -rw-r--r-- | src/libtools/sdl2rwops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libtools/sdl2rwops.c b/src/libtools/sdl2rwops.c index 085c7837..1273d36c 100644 --- a/src/libtools/sdl2rwops.c +++ b/src/libtools/sdl2rwops.c @@ -121,8 +121,8 @@ static void checkSDL2isNative() { if(my_context->sdl2allocrw) return; - emulated_sdl2allocrw = FindGlobalSymbol(my_context->maplib, "SDL_AllocRW", -1, NULL); - emulated_sdl2freerw = FindGlobalSymbol(my_context->maplib, "SDL_FreeRW", -1, NULL); + emulated_sdl2allocrw = FindGlobalSymbol(my_context->maplib, "SDL_AllocRW", -1, NULL, 0); + emulated_sdl2freerw = FindGlobalSymbol(my_context->maplib, "SDL_FreeRW", -1, NULL, 0); if(emulated_sdl2allocrw && emulated_sdl2freerw) { my_context->sdl2allocrw = my_wrapped_sdl2allocrw; my_context->sdl2freerw = my_wrapped_sdl2freerw; |