mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-07-04 23:31:19 +01:00
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.
This commit is contained in:
parent
edb2caaae5
commit
8160e142e1
1 changed files with 4 additions and 0 deletions
|
@ -1053,6 +1053,10 @@ void GMainWindow::BootGame(const QString& filename) {
|
||||||
if (!(loader == nullptr || loader->ReadProgramId(title_id) != Loader::ResultStatus::Success)) {
|
if (!(loader == nullptr || loader->ReadProgramId(title_id) != Loader::ResultStatus::Success)) {
|
||||||
// Load per game settings
|
// Load per game settings
|
||||||
Config per_game_config(fmt::format("{:016X}.ini", title_id), false);
|
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();
|
Settings::LogSettings();
|
||||||
|
|
Loading…
Reference in a new issue