Core/ConfigManager: Remove dead bAutomaticStart flag.
This commit is contained in:
parent
da6b5dd38a
commit
14121c5504
|
@ -219,7 +219,6 @@ void SConfig::OnNewTitleLoad(const Core::CPUThreadGuard& guard)
|
||||||
|
|
||||||
void SConfig::LoadDefaults()
|
void SConfig::LoadDefaults()
|
||||||
{
|
{
|
||||||
bAutomaticStart = false;
|
|
||||||
bBootToPause = false;
|
bBootToPause = false;
|
||||||
|
|
||||||
auto& system = Core::System::GetInstance();
|
auto& system = Core::System::GetInstance();
|
||||||
|
|
|
@ -44,7 +44,6 @@ struct BootParameters;
|
||||||
struct SConfig
|
struct SConfig
|
||||||
{
|
{
|
||||||
// Settings
|
// Settings
|
||||||
bool bAutomaticStart = false;
|
|
||||||
bool bBootToPause = false;
|
bool bBootToPause = false;
|
||||||
|
|
||||||
bool bJITNoBlockCache = false;
|
bool bJITNoBlockCache = false;
|
||||||
|
|
|
@ -172,7 +172,6 @@ void MenuBar::OnDebugModeToggled(bool enabled)
|
||||||
{
|
{
|
||||||
// Options
|
// Options
|
||||||
m_boot_to_pause->setVisible(enabled);
|
m_boot_to_pause->setVisible(enabled);
|
||||||
m_automatic_start->setVisible(enabled);
|
|
||||||
m_reset_ignore_panic_handler->setVisible(enabled);
|
m_reset_ignore_panic_handler->setVisible(enabled);
|
||||||
m_change_font->setVisible(enabled);
|
m_change_font->setVisible(enabled);
|
||||||
|
|
||||||
|
@ -573,13 +572,6 @@ void MenuBar::AddOptionsMenu()
|
||||||
connect(m_boot_to_pause, &QAction::toggled, this,
|
connect(m_boot_to_pause, &QAction::toggled, this,
|
||||||
[](bool enable) { SConfig::GetInstance().bBootToPause = enable; });
|
[](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"));
|
m_reset_ignore_panic_handler = options_menu->addAction(tr("Reset Ignore Panic Handler"));
|
||||||
|
|
||||||
connect(m_reset_ignore_panic_handler, &QAction::triggered, this, []() {
|
connect(m_reset_ignore_panic_handler, &QAction::triggered, this, []() {
|
||||||
|
|
|
@ -241,7 +241,6 @@ private:
|
||||||
|
|
||||||
// Options
|
// Options
|
||||||
QAction* m_boot_to_pause;
|
QAction* m_boot_to_pause;
|
||||||
QAction* m_automatic_start;
|
|
||||||
QAction* m_reset_ignore_panic_handler;
|
QAction* m_reset_ignore_panic_handler;
|
||||||
QAction* m_change_font;
|
QAction* m_change_font;
|
||||||
QAction* m_controllers_action;
|
QAction* m_controllers_action;
|
||||||
|
|
Loading…
Reference in New Issue