mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
NetPlay: Remove 'reduce polling rate' option
With the SI poll line count fixed, pretty much all games are polling twice per frame anyways, making this option superfluous. Since it's a bit of a gross hack and makes DTMs incompatible with console, let's just bin it.
This commit is contained in:
@ -124,13 +124,6 @@ void NetPlayDialog::CreateMainLayout()
|
||||
|
||||
m_network_menu = m_menu_bar->addMenu(tr("Network"));
|
||||
m_network_menu->setToolTipsVisible(true);
|
||||
m_reduce_polling_rate_action = m_network_menu->addAction(tr("Reduce Polling Rate"));
|
||||
m_reduce_polling_rate_action->setToolTip(
|
||||
tr("This will reduce bandwidth usage by polling GameCube controllers only twice per frame. "
|
||||
"Does not affect Wii Remotes."));
|
||||
m_reduce_polling_rate_action->setCheckable(true);
|
||||
|
||||
m_network_menu->addSeparator();
|
||||
m_fixed_delay_action = m_network_menu->addAction(tr("Fair Input Delay"));
|
||||
m_fixed_delay_action->setToolTip(
|
||||
tr("Each player sends their own inputs to the game, with equal buffer size for all players, "
|
||||
@ -359,7 +352,6 @@ void NetPlayDialog::ConnectWidgets()
|
||||
connect(m_sync_save_data_action, &QAction::toggled, this, &NetPlayDialog::SaveSettings);
|
||||
connect(m_sync_codes_action, &QAction::toggled, this, &NetPlayDialog::SaveSettings);
|
||||
connect(m_record_input_action, &QAction::toggled, this, &NetPlayDialog::SaveSettings);
|
||||
connect(m_reduce_polling_rate_action, &QAction::toggled, this, &NetPlayDialog::SaveSettings);
|
||||
connect(m_strict_settings_sync_action, &QAction::toggled, this, &NetPlayDialog::SaveSettings);
|
||||
connect(m_host_input_authority_action, &QAction::toggled, this, &NetPlayDialog::SaveSettings);
|
||||
connect(m_sync_all_wii_saves_action, &QAction::toggled, this, &NetPlayDialog::SaveSettings);
|
||||
@ -452,7 +444,6 @@ void NetPlayDialog::OnStart()
|
||||
settings.m_CopyWiiSave = m_load_wii_action->isChecked();
|
||||
settings.m_OCEnable = Config::Get(Config::MAIN_OVERCLOCK_ENABLE);
|
||||
settings.m_OCFactor = Config::Get(Config::MAIN_OVERCLOCK);
|
||||
settings.m_ReducePollingRate = m_reduce_polling_rate_action->isChecked();
|
||||
settings.m_EXIDevice[0] =
|
||||
static_cast<ExpansionInterface::TEXIDevices>(Config::Get(Config::MAIN_SLOT_A));
|
||||
settings.m_EXIDevice[1] =
|
||||
@ -840,7 +831,6 @@ void NetPlayDialog::SetOptionsEnabled(bool enabled)
|
||||
m_sync_save_data_action->setEnabled(enabled);
|
||||
m_sync_codes_action->setEnabled(enabled);
|
||||
m_assign_ports_button->setEnabled(enabled);
|
||||
m_reduce_polling_rate_action->setEnabled(enabled);
|
||||
m_strict_settings_sync_action->setEnabled(enabled);
|
||||
m_host_input_authority_action->setEnabled(enabled);
|
||||
m_sync_all_wii_saves_action->setEnabled(enabled && m_sync_save_data_action->isChecked());
|
||||
@ -1065,7 +1055,6 @@ void NetPlayDialog::LoadSettings()
|
||||
const bool sync_saves = Config::Get(Config::NETPLAY_SYNC_SAVES);
|
||||
const bool sync_codes = Config::Get(Config::NETPLAY_SYNC_CODES);
|
||||
const bool record_inputs = Config::Get(Config::NETPLAY_RECORD_INPUTS);
|
||||
const bool reduce_polling_rate = Config::Get(Config::NETPLAY_REDUCE_POLLING_RATE);
|
||||
const bool strict_settings_sync = Config::Get(Config::NETPLAY_STRICT_SETTINGS_SYNC);
|
||||
const bool sync_all_wii_saves = Config::Get(Config::NETPLAY_SYNC_ALL_WII_SAVES);
|
||||
const bool golf_mode_overlay = Config::Get(Config::NETPLAY_GOLF_MODE_OVERLAY);
|
||||
@ -1076,7 +1065,6 @@ void NetPlayDialog::LoadSettings()
|
||||
m_sync_save_data_action->setChecked(sync_saves);
|
||||
m_sync_codes_action->setChecked(sync_codes);
|
||||
m_record_input_action->setChecked(record_inputs);
|
||||
m_reduce_polling_rate_action->setChecked(reduce_polling_rate);
|
||||
m_strict_settings_sync_action->setChecked(strict_settings_sync);
|
||||
m_sync_all_wii_saves_action->setChecked(sync_all_wii_saves);
|
||||
m_golf_mode_overlay_action->setChecked(golf_mode_overlay);
|
||||
@ -1116,7 +1104,6 @@ void NetPlayDialog::SaveSettings()
|
||||
Config::SetBase(Config::NETPLAY_SYNC_SAVES, m_sync_save_data_action->isChecked());
|
||||
Config::SetBase(Config::NETPLAY_SYNC_CODES, m_sync_codes_action->isChecked());
|
||||
Config::SetBase(Config::NETPLAY_RECORD_INPUTS, m_record_input_action->isChecked());
|
||||
Config::SetBase(Config::NETPLAY_REDUCE_POLLING_RATE, m_reduce_polling_rate_action->isChecked());
|
||||
Config::SetBase(Config::NETPLAY_STRICT_SETTINGS_SYNC, m_strict_settings_sync_action->isChecked());
|
||||
Config::SetBase(Config::NETPLAY_SYNC_ALL_WII_SAVES, m_sync_all_wii_saves_action->isChecked());
|
||||
Config::SetBase(Config::NETPLAY_GOLF_MODE_OVERLAY, m_golf_mode_overlay_action->isChecked());
|
||||
|
Reference in New Issue
Block a user