1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-08-27 22:46:30 -05:00

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() {