2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

HID: zero unused PadState bits

This commit is contained in:
wwylele 2017-08-09 06:59:13 +03:00
parent 343bbfdabc
commit 599de29ea3
2 changed files with 2 additions and 2 deletions

View file

@ -24,7 +24,7 @@ namespace HID {
*/ */
struct PadState { struct PadState {
union { union {
u32 hex; u32 hex{};
BitField<0, 1, u32> a; BitField<0, 1, u32> a;
BitField<1, 1, u32> b; BitField<1, 1, u32> b;

View file

@ -18,7 +18,7 @@ namespace Service {
namespace IR { namespace IR {
union PadState { union PadState {
u32_le hex; u32_le hex{};
BitField<14, 1, u32_le> zl; BitField<14, 1, u32_le> zl;
BitField<15, 1, u32_le> zr; BitField<15, 1, u32_le> zr;