mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-15 10:10:04 +00:00
Merge pull request #2863 from wwylele/pad-state-zero
HID: zero unused PadState bits
This commit is contained in:
commit
aaf5161344
@ -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;
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user