diff options
author | lat9nq <lat9nq@virginia.edu> | 2020-07-14 01:02:10 -0400 |
---|---|---|
committer | lat9nq <lat9nq@virginia.edu> | 2020-07-14 01:02:10 -0400 |
commit | 8160e142e154829c94a7acb8fe026672be6f5908 (patch) | |
tree | 6a73c140925c0954af1e4316f6cd0e82acf06df1 | |
parent | edb2caaae53109136ef6019a4ac64f5ab6defb1e (diff) |
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.
-rw-r--r-- | src/yuzu/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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(); |