mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2026-07-30 10:16:51 -04:00
regression: Accidentally broke SDL integration detection, oops
This commit is contained in:
@@ -58,6 +58,7 @@ static bool custom_SDL_InitSubSystem_Func(SDL_InitFlags flags) {
|
||||
|
||||
|
||||
void create_sdl_hooks(bytehook_hook_all_t bytehook_hook_all_p) {
|
||||
bytehook_stub_t stub_SDL_InitSubSystem = bytehook_hook_all_p("libSDL3.so", "SDL_InitSubSystem", &custom_SDL_InitSubSystem_Func, NULL, NULL);
|
||||
// Don't set callee_path_name to anything besides NULL or else it won't be able to find the symbol
|
||||
bytehook_stub_t stub_SDL_InitSubSystem = bytehook_hook_all_p(NULL, "SDL_InitSubSystem", &custom_SDL_InitSubSystem_Func, NULL, NULL);
|
||||
LOGI("Successfully initialized SDL hooks, stubs: %p, %p\n", stub_SDL_InitSubSystem);
|
||||
}
|
||||
Reference in New Issue
Block a user