summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWeiyi Wang <wwylele@gmail.com>2017-08-10 16:50:18 +0200
committerGitHub <noreply@github.com>2017-08-10 16:50:18 +0200
commitaaf5161344ed36afddb97c1ee11f18ffb0ae1900 (patch)
treec2d38ff878e03b303ea9b5f2653abbc98430a765 /src
parentMerge pull request #2868 from wwylele/swr-tuple (diff)
parentHID: zero unused PadState bits (diff)
downloadyuzu-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
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/hid/hid.h2
-rw-r--r--src/core/hle/service/ir/ir_rst.cpp2
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;