From 8160e142e154829c94a7acb8fe026672be6f5908 Mon Sep 17 00:00:00 2001 From: lat9nq Date: Tue, 14 Jul 2020 01:02:10 -0400 Subject: [PATCH] main: Set async gpu properly after loading per-game setting Another error that got pass me and only noticed when I was doing the per-game settings UI rework. This prevents asynchronous GPU emulation from being disabled while multi core is enabled as a result of a poorly put together per-game config. --- src/yuzu/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 432379705..8f889be3a 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -1053,6 +1053,10 @@ void GMainWindow::BootGame(const QString& filename) { if (!(loader == nullptr || loader->ReadProgramId(title_id) != Loader::ResultStatus::Success)) { // Load per game settings Config per_game_config(fmt::format("{:016X}.ini", title_id), false); + + Settings::values.use_asynchronous_gpu_emulation.SetValue( + Settings::values.use_asynchronous_gpu_emulation.GetValue() || + Settings::values.use_multi_core.GetValue()); } Settings::LogSettings();