diff options
author | t895 <clombardo169@gmail.com> | 2024-02-17 03:11:47 +0100 |
---|---|---|
committer | t895 <clombardo169@gmail.com> | 2024-02-17 03:11:47 +0100 |
commit | ac33847b3005dab85bc8e5792188713b973c4b1e (patch) | |
tree | cd0c0816d125544e0a3605e7720f622611abe6c5 /src/hid_core | |
parent | hid_core: Use dedicated "port" for android's input overlay (diff) | |
download | yuzu-ac33847b3005dab85bc8e5792188713b973c4b1e.tar yuzu-ac33847b3005dab85bc8e5792188713b973c4b1e.tar.gz yuzu-ac33847b3005dab85bc8e5792188713b973c4b1e.tar.bz2 yuzu-ac33847b3005dab85bc8e5792188713b973c4b1e.tar.lz yuzu-ac33847b3005dab85bc8e5792188713b973c4b1e.tar.xz yuzu-ac33847b3005dab85bc8e5792188713b973c4b1e.tar.zst yuzu-ac33847b3005dab85bc8e5792188713b973c4b1e.zip |
Diffstat (limited to 'src/hid_core')
-rw-r--r-- | src/hid_core/frontend/emulated_controller.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/hid_core/frontend/emulated_controller.cpp b/src/hid_core/frontend/emulated_controller.cpp index b4b6fa7c8..8b5d0eec6 100644 --- a/src/hid_core/frontend/emulated_controller.cpp +++ b/src/hid_core/frontend/emulated_controller.cpp @@ -581,6 +581,9 @@ void EmulatedController::DisableConfiguration() { // Get Joycon colors before turning on the controller for (const auto& color_device : color_devices) { + if (color_device == nullptr) { + continue; + } color_device->ForceUpdate(); } |