summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2023-11-03 00:42:47 +0100
committergerman77 <juangerman-13@hotmail.com>2023-11-03 01:39:08 +0100
commit57cf830862bac1d68d660c120014e7d5021b72e8 (patch)
tree20180cba4d5f62bedc9684a086ff48b7482b8d42 /src/core/hle/service/hid
parentMerge pull request #11920 from Termynat0r/master (diff)
downloadyuzu-57cf830862bac1d68d660c120014e7d5021b72e8.tar
yuzu-57cf830862bac1d68d660c120014e7d5021b72e8.tar.gz
yuzu-57cf830862bac1d68d660c120014e7d5021b72e8.tar.bz2
yuzu-57cf830862bac1d68d660c120014e7d5021b72e8.tar.lz
yuzu-57cf830862bac1d68d660c120014e7d5021b72e8.tar.xz
yuzu-57cf830862bac1d68d660c120014e7d5021b72e8.tar.zst
yuzu-57cf830862bac1d68d660c120014e7d5021b72e8.zip
Diffstat (limited to 'src/core/hle/service/hid')
-rw-r--r--src/core/hle/service/hid/controllers/npad.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/service/hid/controllers/npad.cpp b/src/core/hle/service/hid/controllers/npad.cpp
index bc822f19e..21695bda2 100644
--- a/src/core/hle/service/hid/controllers/npad.cpp
+++ b/src/core/hle/service/hid/controllers/npad.cpp
@@ -1108,9 +1108,9 @@ Result Controller_NPad::DisconnectNpad(Core::HID::NpadIdType npad_id) {
shared_memory->sixaxis_dual_right_properties.raw = 0;
shared_memory->sixaxis_left_properties.raw = 0;
shared_memory->sixaxis_right_properties.raw = 0;
- shared_memory->battery_level_dual = 0;
- shared_memory->battery_level_left = 0;
- shared_memory->battery_level_right = 0;
+ shared_memory->battery_level_dual = Core::HID::NpadBatteryLevel::Empty;
+ shared_memory->battery_level_left = Core::HID::NpadBatteryLevel::Empty;
+ shared_memory->battery_level_right = Core::HID::NpadBatteryLevel::Empty;
shared_memory->fullkey_color = {
.attribute = ColorAttribute::NoController,
.fullkey = {},