Handle hotplugging of Wii controller extensions

This commit is contained in:
Sam Lantinga 2022-09-01 21:13:16 -07:00
parent 396411c090
commit 8381e008ea
2 changed files with 42 additions and 18 deletions

View file

@ -834,6 +834,9 @@ check_removed:
goto check_removed;
} else {
HIDAPI_DelDevice(device);
/* Update the device list again in case this device comes back */
SDL_HIDAPI_change_count = 0;
}
}
device = next;