mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
Merge pull request #7580 from Techjar/netplay-padmapping-type
NetPlay: Remove PadMapping type
This commit is contained in:
@ -90,7 +90,7 @@ int PadMappingDialog::exec()
|
||||
|
||||
const auto index = gc ? m_pad_mapping[i] : m_wii_mapping[i];
|
||||
|
||||
combo->setCurrentIndex(index == -1 ? 0 : index);
|
||||
combo->setCurrentIndex(index);
|
||||
}
|
||||
}
|
||||
|
||||
@ -114,7 +114,7 @@ void PadMappingDialog::OnMappingChanged()
|
||||
int gc_id = m_gc_boxes[i]->currentIndex();
|
||||
int wii_id = m_wii_boxes[i]->currentIndex();
|
||||
|
||||
m_pad_mapping[i] = gc_id > 0 ? m_players[gc_id - 1]->pid : -1;
|
||||
m_wii_mapping[i] = wii_id > 0 ? m_players[wii_id - 1]->pid : -1;
|
||||
m_pad_mapping[i] = gc_id > 0 ? m_players[gc_id - 1]->pid : 0;
|
||||
m_wii_mapping[i] = wii_id > 0 ? m_players[wii_id - 1]->pid : 0;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user