mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 00:39:53 +00:00
ed742c48e0
== DETAILS So, it turns out that there *is* a autoconfig disconnect handler. Took digging through tasks/task_autodetect.c to find it! So, I added a call to the handler when the pad gets disconnected. This seems to solve the problem of the pad not disappearing from the menu. (At the very least, the user's pad index reverts to "none" which is still an improvement) == TESTING Tested manually, made sure it didn't crash or leak slots.