2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

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 {