From a0f7f2b309e4920e0e3f1217441a4628023f59b8 Mon Sep 17 00:00:00 2001 From: Narr the Reg Date: Tue, 30 Jan 2024 10:36:42 -0600 Subject: service: hid: Implement GetPlayerLedPattern accurately --- src/hid_core/hid_types.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/hid_core/hid_types.h') diff --git a/src/hid_core/hid_types.h b/src/hid_core/hid_types.h index b310ab72d..ffb5f1926 100644 --- a/src/hid_core/hid_types.h +++ b/src/hid_core/hid_types.h @@ -422,7 +422,10 @@ struct NpadPowerInfo { static_assert(sizeof(NpadPowerInfo) == 0xC, "NpadPowerInfo is an invalid size"); struct LedPattern { - explicit LedPattern(u64 light1, u64 light2, u64 light3, u64 light4) { + LedPattern() { + raw = 0; + } + LedPattern(u64 light1, u64 light2, u64 light3, u64 light4) { position1.Assign(light1); position2.Assign(light2); position3.Assign(light3); -- cgit v1.2.3