diff options
| author | David Marcec <dmarcecguzman@gmail.com> | 2018-12-19 14:16:30 +1100 |
|---|---|---|
| committer | David Marcec <dmarcecguzman@gmail.com> | 2018-12-19 14:16:30 +1100 |
| commit | 5bd0ff8f77207ea3d3f4d658b37549ffa861d803 (patch) | |
| tree | 585c8e7f01d93794d9cf4071a8511a267868705d /src | |
| parent | 4e57c35bdc297cfc881b7bcf6780c7cfccd6ec7d (diff) | |
Device handle should not be a random id, instead it's the current npad id
Found during hardware testing
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hle/service/nfp/nfp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/nfp/nfp.cpp b/src/core/hle/service/nfp/nfp.cpp index d5df112a06..a7bed00400 100644 --- a/src/core/hle/service/nfp/nfp.cpp +++ b/src/core/hle/service/nfp/nfp.cpp @@ -317,8 +317,8 @@ private: } bool has_attached_handle{}; - const u64 device_handle{Common::MakeMagic('Y', 'U', 'Z', 'U')}; - const u32 npad_id{0}; // Player 1 controller + const u64 device_handle{0}; // Npad device 1 + const u32 npad_id{0}; // Player 1 controller State state{State::NonInitialized}; DeviceState device_state{DeviceState::Initialized}; Kernel::EventPair deactivate_event; |
