core: nfp: Workaround for lack of multiple nfp interfaces

This commit is contained in:
german77 2022-09-01 00:20:22 -05:00
parent caa138b33f
commit 4834961736

View file

@ -1069,7 +1069,9 @@ DeviceState Module::Interface::GetCurrentState() 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 {