mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-15 12:50:10 +00:00
core: nfp: Workaround for lack of multiple nfp interfaces
This commit is contained in:
parent
caa138b33f
commit
4834961736
@ -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 New Issue
Block a user