mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-24 14:24:54 +00:00
Fix debugger disabled bug
Fixing an oversight: this was causing the debugger to be disabled if achievements were disabled but hardcore mode was still enabled in the .ini. This fix properly checks for hardcore state via AchievementManager which takes both settings into account.
This commit is contained in:
parent
c0c180bdc2
commit
022bc3bf8d
1 changed files with 1 additions and 1 deletions
|
@ -2020,7 +2020,7 @@ void MainWindow::ShowAchievementSettings()
|
|||
|
||||
void MainWindow::OnHardcoreChanged()
|
||||
{
|
||||
if (Config::Get(Config::RA_HARDCORE_ENABLED))
|
||||
if (AchievementManager::GetInstance().IsHardcoreModeActive())
|
||||
Settings::Instance().SetDebugModeEnabled(false);
|
||||
emit Settings::Instance().EmulationStateChanged(Core::GetState(Core::System::GetInstance()));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue