Skip to content
Snippets Groups Projects
Unverified Commit 4923df10 authored by bunnei's avatar bunnei Committed by GitHub
Browse files

Merge pull request #1923 from ogniK5377/nfp-device-list

Device handle should not be a random id, instead it's the current npad id
parents 3050f3a7 807e7640
No related branches found
No related tags found
No related merge requests found
...@@ -317,8 +317,8 @@ private: ...@@ -317,8 +317,8 @@ private:
} }
bool has_attached_handle{}; bool has_attached_handle{};
const u64 device_handle{Common::MakeMagic('Y', 'U', 'Z', 'U')}; const u64 device_handle{0}; // Npad device 1
const u32 npad_id{0}; // Player 1 controller 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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment