Revert "RetroAchievements: Fix potential deadlock on shutdown."

This reverts commit 826f04d06c.
This commit is contained in:
LillyJadeKatrin
2025-05-17 08:27:22 -04:00
parent 137e50dc25
commit b6803d00fe
4 changed files with 24 additions and 43 deletions

View File

@ -274,9 +274,7 @@ MainWindow::MainWindow(Core::System& system, std::unique_ptr<BootParameters> boo
NetPlayInit();
#ifdef USE_RETRO_ACHIEVEMENTS
AchievementManager::GetInstance().Init(reinterpret_cast<void*>(winId()), [this](auto func) {
QueueOnObject(this, std::move(func));
});
AchievementManager::GetInstance().Init(reinterpret_cast<void*>(winId()));
if (AchievementManager::GetInstance().IsHardcoreModeActive())
Settings::Instance().SetDebugModeEnabled(false);
// This needs to trigger on both RA_HARDCORE_ENABLED and RA_ENABLED