mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2024-11-23 22:03:55 +00:00
core: nfp: Workaround for lack of multiple nfp interfaces
This commit is contained in:
parent
caa138b33f
commit
4834961736
1 changed files with 3 additions and 1 deletions
|
@ -1069,7 +1069,9 @@ DeviceState Module::Interface::GetCurrentState() const {
|
||||||
}
|
}
|
||||||
|
|
||||||
Core::HID::NpadIdType Module::Interface::GetNpadId() const {
|
Core::HID::NpadIdType Module::Interface::GetNpadId() const {
|
||||||
return npad_id;
|
// Return first connected npad id as a workaround for lack of a single nfc interface per
|
||||||
|
// controller
|
||||||
|
return system.HIDCore().GetFirstNpadId();
|
||||||
}
|
}
|
||||||
|
|
||||||
AmiiboName Module::Interface::GetAmiiboName(const AmiiboSettings& settings) const {
|
AmiiboName Module::Interface::GetAmiiboName(const AmiiboSettings& settings) const {
|
||||||
|
|
Loading…
Reference in a new issue