by Sjonny · 4y ago · 0 comments
SDL does have a built-in way to do that trick. A quick web search tells me it's called SDL_DYNAMIC_API.
Edit: though here if it's a problem of file enumeration and access, I'd probably just LD_PRELOAD something to bypass libc file access functions and return the same result than the first time, with no delay.