Device handle should not be a random id, instead it's the current npad id
Found during hardware testing
This commit is contained in:
parent
39262921f2
commit
807e7640aa
1 changed files with 2 additions and 2 deletions
|
@ -317,7 +317,7 @@ private:
|
|||
}
|
||||
|
||||
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
|
||||
State state{State::NonInitialized};
|
||||
DeviceState device_state{DeviceState::Initialized};
|
||||
|
|
Loading…
Reference in a new issue