Browse Source
Merge pull request #1815 from DarkLordZach/npad-pos-fix
npad: Fix copy/paste error with LED position assignments
pull/15/merge
bunnei
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
3 deletions
-
src/core/hle/service/hid/controllers/npad.h
|
|
|
@ -80,9 +80,9 @@ public: |
|
|
|
struct LedPattern { |
|
|
|
explicit LedPattern(u64 light1, u64 light2, u64 light3, u64 light4) { |
|
|
|
position1.Assign(light1); |
|
|
|
position1.Assign(light2); |
|
|
|
position1.Assign(light3); |
|
|
|
position1.Assign(light4); |
|
|
|
position2.Assign(light2); |
|
|
|
position3.Assign(light3); |
|
|
|
position4.Assign(light4); |
|
|
|
} |
|
|
|
union { |
|
|
|
u64 raw{}; |
|
|
|
|