diff options
| author | 2020-06-23 12:47:58 -0400 | |
|---|---|---|
| committer | 2020-06-23 12:47:58 -0400 | |
| commit | d4e07fd95e999e34562428c628985a6eb1fb532d (patch) | |
| tree | 06f75257618ce8250239a8cd809781adb4784dd9 /src/input_common/main.cpp | |
| parent | Small quality of life indication that mapped button is GC (diff) | |
| download | yuzu-d4e07fd95e999e34562428c628985a6eb1fb532d.tar.gz yuzu-d4e07fd95e999e34562428c628985a6eb1fb532d.tar.xz yuzu-d4e07fd95e999e34562428c628985a6eb1fb532d.zip | |
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 a9572c23c..f13420b38 100644 --- a/src/input_common/main.cpp +++ b/src/input_common/main.cpp | |||
| @@ -59,7 +59,10 @@ void Shutdown() { | |||
| 59 | #endif | 59 | #endif |
| 60 | udp.reset(); | 60 | udp.reset(); |
| 61 | Input::UnregisterFactory<Input::ButtonDevice>("gcpad"); | 61 | Input::UnregisterFactory<Input::ButtonDevice>("gcpad"); |
| 62 | Input::UnregisterFactory<Input::AnalogDevice>("gcpad"); | ||
| 63 | |||
| 62 | gcbuttons.reset(); | 64 | gcbuttons.reset(); |
| 65 | gcanalog.reset(); | ||
| 63 | } | 66 | } |
| 64 | 67 | ||
| 65 | Keyboard* GetKeyboard() { | 68 | Keyboard* GetKeyboard() { |