diff options
author | german77 <juangerman-13@hotmail.com> | 2022-11-26 16:28:04 +0100 |
---|---|---|
committer | german77 <juangerman-13@hotmail.com> | 2022-11-27 17:53:22 +0100 |
commit | a67e776af9bbd7d297aa203922eeabb9c0829172 (patch) | |
tree | 222cea7b63dd2afd28b8924414d107a1206d9b42 /src/input_common | |
parent | Merge pull request #9276 from goldenx86/fsrSlider (diff) | |
download | yuzu-a67e776af9bbd7d297aa203922eeabb9c0829172.tar yuzu-a67e776af9bbd7d297aa203922eeabb9c0829172.tar.gz yuzu-a67e776af9bbd7d297aa203922eeabb9c0829172.tar.bz2 yuzu-a67e776af9bbd7d297aa203922eeabb9c0829172.tar.lz yuzu-a67e776af9bbd7d297aa203922eeabb9c0829172.tar.xz yuzu-a67e776af9bbd7d297aa203922eeabb9c0829172.tar.zst yuzu-a67e776af9bbd7d297aa203922eeabb9c0829172.zip |
Diffstat (limited to '')
-rw-r--r-- | src/input_common/main.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/input_common/main.cpp b/src/input_common/main.cpp index b2064ef95..76df133f3 100644 --- a/src/input_common/main.cpp +++ b/src/input_common/main.cpp @@ -138,6 +138,16 @@ struct InputSubsystem::Impl { Common::Input::UnregisterFactory<Common::Input::OutputDevice>(tas_input->GetEngineName()); tas_input.reset(); + Common::Input::UnregisterFactory<Common::Input::InputDevice>(camera->GetEngineName()); + Common::Input::UnregisterFactory<Common::Input::OutputDevice>(camera->GetEngineName()); + camera.reset(); + + Common::Input::UnregisterFactory<Common::Input::InputDevice>( + virtual_amiibo->GetEngineName()); + Common::Input::UnregisterFactory<Common::Input::OutputDevice>( + virtual_amiibo->GetEngineName()); + virtual_amiibo.reset(); + #ifdef HAVE_SDL2 Common::Input::UnregisterFactory<Common::Input::InputDevice>(sdl->GetEngineName()); Common::Input::UnregisterFactory<Common::Input::OutputDevice>(sdl->GetEngineName()); |