diff options
| author | Ameer <aj662@drexel.edu> | 2020-06-23 12:47:58 -0400 |
|---|---|---|
| committer | Ameer <aj662@drexel.edu> | 2020-06-23 12:47:58 -0400 |
| commit | ef0b52563d6e1278c0bb9270110dcf51941a9288 (patch) | |
| tree | 06f75257618ce8250239a8cd809781adb4784dd9 /src/input_common/main.cpp | |
| parent | e8c8a5bafd628a857cba9a1a2a2387263a229029 (diff) | |
Fix deallocation of GC Adapter
Diffstat (limited to 'src/input_common/main.cpp')
| -rw-r--r-- | src/input_common/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/input_common/main.cpp b/src/input_common/main.cpp index a9572c23cf..f13420b38f 100644 --- a/src/input_common/main.cpp +++ b/src/input_common/main.cpp @@ -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() { |
