diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2024-01-30 20:29:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-30 20:29:33 +0100 |
commit | ec734cb06c25d42f0862deb57904ec24ad1a4890 (patch) | |
tree | 402beaad129f008fe95a94ea25dea7a2f213dbf8 /src/hid_core/hid_types.h | |
parent | Merge pull request #12856 from liamwhite/serialization (diff) | |
parent | service: hid: Implement GetPlayerLedPattern accurately (diff) | |
download | yuzu-ec734cb06c25d42f0862deb57904ec24ad1a4890.tar yuzu-ec734cb06c25d42f0862deb57904ec24ad1a4890.tar.gz yuzu-ec734cb06c25d42f0862deb57904ec24ad1a4890.tar.bz2 yuzu-ec734cb06c25d42f0862deb57904ec24ad1a4890.tar.lz yuzu-ec734cb06c25d42f0862deb57904ec24ad1a4890.tar.xz yuzu-ec734cb06c25d42f0862deb57904ec24ad1a4890.tar.zst yuzu-ec734cb06c25d42f0862deb57904ec24ad1a4890.zip |
Diffstat (limited to 'src/hid_core/hid_types.h')
-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); |