Fix deallocation of GC Adapter
This commit is contained in:
parent
901bc09dd7
commit
d4e07fd95e
3 changed files with 10 additions and 4 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue