Core/ConfigManager: Remove dead bAutomaticStart flag.

This commit is contained in:
Admiral H. Curtiss 2024-01-31 22:53:43 +01:00
parent da6b5dd38a
commit 14121c5504
No known key found for this signature in database
GPG Key ID: F051B4C4044F33FB
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;