summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorwwylele <wwylele@gmail.com>2017-08-09 05:59:13 +0200
committerwwylele <wwylele@gmail.com>2017-08-10 16:01:03 +0200
commit599de29ea345bbeee300bec4bd6c3ab31288268d (patch)
tree5d7fee560c394594d89832b60775cad4054d1f53 /src/core
parentMerge pull request #2860 from anodium/patch-1 (diff)
downloadyuzu-599de29ea345bbeee300bec4bd6c3ab31288268d.tar
yuzu-599de29ea345bbeee300bec4bd6c3ab31288268d.tar.gz
yuzu-599de29ea345bbeee300bec4bd6c3ab31288268d.tar.bz2
yuzu-599de29ea345bbeee300bec4bd6c3ab31288268d.tar.lz
yuzu-599de29ea345bbeee300bec4bd6c3ab31288268d.tar.xz
yuzu-599de29ea345bbeee300bec4bd6c3ab31288268d.tar.zst
yuzu-599de29ea345bbeee300bec4bd6c3ab31288268d.zip
Diffstat (limited to 'src/core')
-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;