You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A breakpoint set on the line after SDL_Init never gets hit. Removing SDL_INIT_HAPTIC lets it get further, but it appears to make the process unstable and it crashes not much later.
You're probably looking at something in SDL instead - the SDL VisualC folder includes some controller tests, try those and file a report here: https://github.com/libsdl-org/SDL/issues
Chicken-Bones
changed the title
call to SDL_Init crashes process with AccessViolation when gamecube controller and mayflash adapter
Call to SDL_Init crashes process with AccessViolation when gamecube controller and mayflash adapter attached
May 24, 2022
Update, with 089197a it crashes at SDL.SDL_GameControllerOpen(dev);
Probably won't have time to try and run SDL tests unless I can get a binary from someone, so I'll just leave it here as a reference open issue for anyone in the future.
It depends on nothing other than Win32 (it doesn't even require msvcrt), so if you have some kind of VS you'll be able to build everything in a few seconds (even with modern Visual Studio).
Game: tModLoader
OS: Windows 10 Home X64 (19044.1586)
Runtime: NetCore 6.0.3
Crashes both with VS attached and when launched from a system or portable dotnet install. Commit 81148b7
Official gamecube controller with https://www.mayflash.com/product/showproduct.php?id=27
No crash when using a generic third party adapter (looks like but might not exactly be https://www.amazon.com/Switch-Gamecube-Controller-Adapter-Nintendo/dp/B07Q459FBQ)
A breakpoint set on the line after
SDL_Init
never gets hit. RemovingSDL_INIT_HAPTIC
lets it get further, but it appears to make the process unstable and it crashes not much later.Log from init with adapter which does work
The text was updated successfully, but these errors were encountered: