Properly Toggle Hardcore When Enabling RA
Fixes a bug where a player could enable hardcore, disable RetroAchievements integration, show the debug menu, and re-enable the integration to get the debug menu in hardcore.
This commit is contained in:
parent
5fe9e2f6ed
commit
28cd3e732d
|
@ -247,11 +247,7 @@ void AchievementSettingsWidget::ToggleRAIntegration()
|
|||
instance.Init();
|
||||
else
|
||||
instance.Shutdown();
|
||||
if (Config::Get(Config::RA_HARDCORE_ENABLED))
|
||||
{
|
||||
emit Settings::Instance().EmulationStateChanged(Core::GetState(Core::System::GetInstance()));
|
||||
emit Settings::Instance().HardcoreStateChanged();
|
||||
}
|
||||
ToggleHardcore();
|
||||
}
|
||||
|
||||
void AchievementSettingsWidget::Login()
|
||||
|
|
Loading…
Reference in New Issue