mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Fully remove wii remote netplay UI code and remove reference to WiimoteReal in NetPlayClient.cpp
This commit is contained in:
@ -117,15 +117,12 @@ NetPlaySetupFrame::NetPlaySetupFrame(wxWindow* const parent, const CGameListCtrl
|
||||
|
||||
wxStaticText* const alert_lbl = new wxStaticText(connect_tab, wxID_ANY,
|
||||
_("ALERT:\n\n"
|
||||
"Netplay will only work with the following settings:\n"
|
||||
" - DSP Emulator Engine Must be the same on all computers!\n"
|
||||
" - Manually set the extensions for each Wiimote\n"
|
||||
"All players must use the same Dolphin version.\n"
|
||||
"All memory cards, SD cards and cheats must be identical between players or disabled.\n"
|
||||
"If DSP LLE is used, DSP ROMs must be identical between players.\n"
|
||||
"If connecting directly, the host must have the chosen UDP port open/forwarded!\n"
|
||||
"\n"
|
||||
"All players should use the same Dolphin version and settings.\n"
|
||||
"All memory cards must be identical between players or disabled.\n"
|
||||
"Wiimote support is probably terrible. Don't use it.\n"
|
||||
"\n"
|
||||
"If connecting directly, the host must have the chosen UDP port open/forwarded!\n"));
|
||||
"Wiimote support is broken in netplay and therefore disabled.\n"));
|
||||
|
||||
wxBoxSizer* const top_szr = new wxBoxSizer(wxHORIZONTAL);
|
||||
|
||||
|
@ -67,11 +67,6 @@ PadMappingArray PadMapDialog::GetModifiedPadMappings() const
|
||||
return m_pad_mapping;
|
||||
}
|
||||
|
||||
PadMappingArray PadMapDialog::GetModifiedWiimoteMappings() const
|
||||
{
|
||||
return m_wii_mapping;
|
||||
}
|
||||
|
||||
void PadMapDialog::OnAdjust(wxCommandEvent& WXUNUSED(event))
|
||||
{
|
||||
for (unsigned int i = 0; i < 4; i++)
|
||||
@ -81,11 +76,5 @@ void PadMapDialog::OnAdjust(wxCommandEvent& WXUNUSED(event))
|
||||
m_pad_mapping[i] = m_player_list[player_idx - 1]->pid;
|
||||
else
|
||||
m_pad_mapping[i] = -1;
|
||||
|
||||
player_idx = m_map_cbox[i + 4]->GetSelection();
|
||||
if (player_idx > 0)
|
||||
m_wii_mapping[i] = m_player_list[player_idx - 1]->pid;
|
||||
else
|
||||
m_wii_mapping[i] = -1;
|
||||
}
|
||||
}
|
||||
|
@ -20,13 +20,11 @@ public:
|
||||
PadMapDialog(wxWindow* parent, NetPlayServer* server, NetPlayClient* client);
|
||||
|
||||
PadMappingArray GetModifiedPadMappings() const;
|
||||
PadMappingArray GetModifiedWiimoteMappings() const;
|
||||
|
||||
private:
|
||||
void OnAdjust(wxCommandEvent& event);
|
||||
|
||||
wxChoice* m_map_cbox[8];
|
||||
wxChoice* m_map_cbox[4];
|
||||
PadMappingArray m_pad_mapping;
|
||||
PadMappingArray m_wii_mapping;
|
||||
std::vector<const Player*> m_player_list;
|
||||
};
|
||||
|
Reference in New Issue
Block a user