diff options
author | Narr the Reg <juangerman-13@hotmail.com> | 2024-01-30 17:36:42 +0100 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2024-01-30 17:57:03 +0100 |
commit | a0f7f2b309e4920e0e3f1217441a4628023f59b8 (patch) | |
tree | 5f8c8b2b284369d1e5b9562ad7d7df20f3abc2d9 /src/hid_core/hid_types.h | |
parent | Merge pull request #12843 from t895/system-driver-whoops (diff) | |
download | yuzu-a0f7f2b309e4920e0e3f1217441a4628023f59b8.tar yuzu-a0f7f2b309e4920e0e3f1217441a4628023f59b8.tar.gz yuzu-a0f7f2b309e4920e0e3f1217441a4628023f59b8.tar.bz2 yuzu-a0f7f2b309e4920e0e3f1217441a4628023f59b8.tar.lz yuzu-a0f7f2b309e4920e0e3f1217441a4628023f59b8.tar.xz yuzu-a0f7f2b309e4920e0e3f1217441a4628023f59b8.tar.zst yuzu-a0f7f2b309e4920e0e3f1217441a4628023f59b8.zip |
Diffstat (limited to '')
-rw-r--r-- | src/hid_core/hid_types.h | 5 |
1 files changed, 4 insertions, 1 deletions
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); |