|
|
|
|
|
by Sjonny
1627 days ago
|
|
I've been wondering.. is it possible to write something to override the statically linked functions? In this case, most (if not all) functions have an SDL_ prefix. Would it be possible to LD_PRELOAD a library that loads a shared version of SDL and goes over all the function pointers to move them point them to a new location? Is there a tool for this? |
|
SDL does have a built-in way to do that trick. A quick web search tells me it's called SDL_DYNAMIC_API.