diff options
author | Weiyi Wang <wwylele@gmail.com> | 2017-08-10 16:50:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-10 16:50:18 +0200 |
commit | aaf5161344ed36afddb97c1ee11f18ffb0ae1900 (patch) | |
tree | c2d38ff878e03b303ea9b5f2653abbc98430a765 | |
parent | Merge pull request #2868 from wwylele/swr-tuple (diff) | |
parent | HID: zero unused PadState bits (diff) | |
download | yuzu-aaf5161344ed36afddb97c1ee11f18ffb0ae1900.tar yuzu-aaf5161344ed36afddb97c1ee11f18ffb0ae1900.tar.gz yuzu-aaf5161344ed36afddb97c1ee11f18ffb0ae1900.tar.bz2 yuzu-aaf5161344ed36afddb97c1ee11f18ffb0ae1900.tar.lz yuzu-aaf5161344ed36afddb97c1ee11f18ffb0ae1900.tar.xz yuzu-aaf5161344ed36afddb97c1ee11f18ffb0ae1900.tar.zst yuzu-aaf5161344ed36afddb97c1ee11f18ffb0ae1900.zip |
-rw-r--r-- | src/core/hle/service/hid/hid.h | 2 | ||||
-rw-r--r-- | src/core/hle/service/ir/ir_rst.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/hid/hid.h b/src/core/hle/service/hid/hid.h index 1ef972e70..ef25926b5 100644 --- a/src/core/hle/service/hid/hid.h +++ b/src/core/hle/service/hid/hid.h @@ -24,7 +24,7 @@ namespace HID { */ struct PadState { union { - u32 hex; + u32 hex{}; BitField<0, 1, u32> a; BitField<1, 1, u32> b; diff --git a/src/core/hle/service/ir/ir_rst.cpp b/src/core/hle/service/ir/ir_rst.cpp index 837413f93..0912d5756 100644 --- a/src/core/hle/service/ir/ir_rst.cpp +++ b/src/core/hle/service/ir/ir_rst.cpp @@ -18,7 +18,7 @@ namespace Service { namespace IR { union PadState { - u32_le hex; + u32_le hex{}; BitField<14, 1, u32_le> zl; BitField<15, 1, u32_le> zr; |