Files
AC6_recomp/thirdparty
Dipshet 93c6dba3ff Stop a controller disconnect/reconnect from closing the game
A failed SDL_OpenGamepad on hot-plug hit assert_always(), which is fatal in release: one transient open failure on reconnect closed the game.
The axis/button handlers also dereferenced the controller-index optional unchecked, so orphan pad events were UB -> std::terminate.
Now a failed open logs a WARN and returns; the pad retries on its next ADDED event. Orphan events are dropped with a rate-limited WARN.
2026-08-06 21:14:10 +02:00
..