I’m getting a very odd error in SDL 2.0.5 when I include SDL_INIT_GAMECONTROLLER or SDL_INIT_JOYSTICK options in SDL_INIT(). It completely halts the program when debugging through each line when it hits SDL_INIT(). It’s worked fine on previous version (2.0.4 and lower).
Any idea?
Error:
In RaiseFailFastException () (C:\WINDOWS\SysWoW64\KernelBase.dll)
I’m getting exactly the same error at exactly the same place after installing 2.0.5 into an existing 2.0.4 project. Only happens when trying to debug. Using Eclipse, MiniGW, i686-w64-mingw32, Windows 10.
For me, it doesn’t matter what I pass into SDL_INIT(), it’ll always crash at the same place. The compiler fails to pinpoint where unless you step manually through every line until SDL_INIT().