libSDL2 fork with custom memory allocators