diff options
| author | Connor McLaughlin <stenzek@gmail.com> | 2019-08-26 23:30:18 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-26 23:30:18 +1000 |
| commit | 230ff47c0a9482bf24d6da63ce599d4973f3d62c (patch) | |
| tree | 13f9b748cfe46b81ce38e4f65a68508c1d1dec1f /Source/Core/DolphinQt/NetPlay/NetPlayDialog.cpp | |
| parent | 755601c64aaeb5b74ddfd5f022ff719ef3603cd3 (diff) | |
| parent | a3d8a8be065840c1c4b5f0b3022e811902328389 (diff) | |
Merge pull request #8230 from Techjar/remove-reduced-polling
NetPlay: Remove 'reduce polling rate' option
Diffstat (limited to 'Source/Core/DolphinQt/NetPlay/NetPlayDialog.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/NetPlay/NetPlayDialog.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/Source/Core/DolphinQt/NetPlay/NetPlayDialog.cpp b/Source/Core/DolphinQt/NetPlay/NetPlayDialog.cpp index 2c64f31d6e..78fed17e2a 100644 --- a/Source/Core/DolphinQt/NetPlay/NetPlayDialog.cpp +++ b/Source/Core/DolphinQt/NetPlay/NetPlayDialog.cpp @@ -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()); |
