Fix deallocation of GC Adapter

This commit is contained in:
Ameer 2020-06-23 12:47:58 -04:00
parent 901bc09dd7
commit d4e07fd95e
3 changed files with 10 additions and 4 deletions

View file

@ -59,7 +59,10 @@ void Shutdown() {
#endif
udp.reset();
Input::UnregisterFactory<Input::ButtonDevice>("gcpad");
Input::UnregisterFactory<Input::AnalogDevice>("gcpad");
gcbuttons.reset();
gcanalog.reset();
}
Keyboard* GetKeyboard() {