mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Merge pull request #6172 from JosJuice/remove-force-ntsc-j
Remove "Force Console as NTSC-J"
This commit is contained in:
@ -49,7 +49,6 @@ void GeneralPane::ConnectLayout()
|
||||
connect(m_checkbox_dualcore, &QCheckBox::clicked, this, &GeneralPane::OnSaveConfig);
|
||||
connect(m_checkbox_cheats, &QCheckBox::clicked, this, &GeneralPane::OnSaveConfig);
|
||||
// Advanced
|
||||
connect(m_checkbox_force_ntsc, &QCheckBox::clicked, this, &GeneralPane::OnSaveConfig);
|
||||
connect(m_combobox_speedlimit,
|
||||
static_cast<void (QComboBox::*)(const QString&)>(&QComboBox::activated),
|
||||
[this](const QString& text) { OnSaveConfig(); });
|
||||
@ -132,15 +131,10 @@ void GeneralPane::CreateAdvanced()
|
||||
engine_group_layout->addWidget(m_radio_interpreter);
|
||||
engine_group_layout->addWidget(m_radio_cached_interpreter);
|
||||
engine_group_layout->addWidget(m_radio_jit);
|
||||
|
||||
// NTSC-J
|
||||
m_checkbox_force_ntsc = new QCheckBox(tr("Force Console as NTSC-J"));
|
||||
advanced_group_layout->addWidget(m_checkbox_force_ntsc);
|
||||
}
|
||||
|
||||
void GeneralPane::LoadConfig()
|
||||
{
|
||||
m_checkbox_force_ntsc->setChecked(SConfig::GetInstance().bForceNTSCJ);
|
||||
#if defined(USE_ANALYTICS) && USE_ANALYTICS
|
||||
m_checkbox_enable_analytics->setChecked(SConfig::GetInstance().m_analytics_enabled);
|
||||
#endif
|
||||
@ -172,7 +166,6 @@ void GeneralPane::LoadConfig()
|
||||
|
||||
void GeneralPane::OnSaveConfig()
|
||||
{
|
||||
SConfig::GetInstance().bForceNTSCJ = m_checkbox_force_ntsc->isChecked();
|
||||
#if defined(USE_ANALYTICS) && USE_ANALYTICS
|
||||
SConfig::GetInstance().m_analytics_enabled = m_checkbox_enable_analytics->isChecked();
|
||||
#endif
|
||||
|
@ -32,7 +32,6 @@ private:
|
||||
// Widgets
|
||||
QVBoxLayout* m_main_layout;
|
||||
QComboBox* m_combobox_speedlimit;
|
||||
QCheckBox* m_checkbox_force_ntsc;
|
||||
QCheckBox* m_checkbox_dualcore;
|
||||
QCheckBox* m_checkbox_cheats;
|
||||
QLabel* m_label_speedlimit;
|
||||
|
Reference in New Issue
Block a user