Merge pull request #12548 from AdmiralCurtiss/dead-automatic-start

Core/ConfigManager: Remove dead bAutomaticStart flag.
This commit is contained in:
Mai 2024-01-31 17:42:24 -05:00 committed by GitHub
commit 438f5c3412
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 0 additions and 11 deletions

View File

@ -219,7 +219,6 @@ void SConfig::OnNewTitleLoad(const Core::CPUThreadGuard& guard)
void SConfig::LoadDefaults()
{
bAutomaticStart = false;
bBootToPause = false;
auto& system = Core::System::GetInstance();

View File

@ -44,7 +44,6 @@ struct BootParameters;
struct SConfig
{
// Settings
bool bAutomaticStart = false;
bool bBootToPause = false;
bool bJITNoBlockCache = false;

View File

@ -172,7 +172,6 @@ void MenuBar::OnDebugModeToggled(bool enabled)
{
// Options
m_boot_to_pause->setVisible(enabled);
m_automatic_start->setVisible(enabled);
m_reset_ignore_panic_handler->setVisible(enabled);
m_change_font->setVisible(enabled);
@ -573,13 +572,6 @@ void MenuBar::AddOptionsMenu()
connect(m_boot_to_pause, &QAction::toggled, this,
[](bool enable) { SConfig::GetInstance().bBootToPause = enable; });
m_automatic_start = options_menu->addAction(tr("&Automatic Start"));
m_automatic_start->setCheckable(true);
m_automatic_start->setChecked(SConfig::GetInstance().bAutomaticStart);
connect(m_automatic_start, &QAction::toggled, this,
[](bool enable) { SConfig::GetInstance().bAutomaticStart = enable; });
m_reset_ignore_panic_handler = options_menu->addAction(tr("Reset Ignore Panic Handler"));
connect(m_reset_ignore_panic_handler, &QAction::triggered, this, []() {

View File

@ -241,7 +241,6 @@ private:
// Options
QAction* m_boot_to_pause;
QAction* m_automatic_start;
QAction* m_reset_ignore_panic_handler;
QAction* m_change_font;
QAction* m_controllers_action;