Browse Source
Merge pull request #1923 from ogniK5377/nfp-device-list
Device handle should not be a random id, instead it's the current npad id
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
2 additions and
2 deletions
-
src/core/hle/service/nfp/nfp.cpp
|
|
@ -317,8 +317,8 @@ private: |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
bool has_attached_handle{}; |
|
|
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}; |
|
|
State state{State::NonInitialized}; |
|
|
DeviceState device_state{DeviceState::Initialized}; |
|
|
DeviceState device_state{DeviceState::Initialized}; |
|
|
Kernel::EventPair deactivate_event; |
|
|
Kernel::EventPair deactivate_event; |
|
|
|