summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2021-10-09 02:47:14 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2021-11-16 22:11:30 +0100
commit1c93476a803f8cb93de341a43a013d5cc302b05b (patch)
tree45fd07e541fedf180851279dac9a01a9e97cf1a9
parentgl_texture_cache: Disable scissor test when scaling textures (diff)
downloadyuzu-1c93476a803f8cb93de341a43a013d5cc302b05b.tar
yuzu-1c93476a803f8cb93de341a43a013d5cc302b05b.tar.gz
yuzu-1c93476a803f8cb93de341a43a013d5cc302b05b.tar.bz2
yuzu-1c93476a803f8cb93de341a43a013d5cc302b05b.tar.lz
yuzu-1c93476a803f8cb93de341a43a013d5cc302b05b.tar.xz
yuzu-1c93476a803f8cb93de341a43a013d5cc302b05b.tar.zst
yuzu-1c93476a803f8cb93de341a43a013d5cc302b05b.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/video_core.cpp2
-rw-r--r--src/yuzu/configuration/config.cpp4
-rw-r--r--src/yuzu/configuration/configure_graphics.cpp1
3 files changed, 2 insertions, 5 deletions
diff --git a/src/video_core/video_core.cpp b/src/video_core/video_core.cpp
index 508173db3..e852c817e 100644
--- a/src/video_core/video_core.cpp
+++ b/src/video_core/video_core.cpp
@@ -37,6 +37,8 @@ std::unique_ptr<VideoCore::RendererBase> CreateRenderer(
namespace VideoCore {
std::unique_ptr<Tegra::GPU> CreateGPU(Core::Frontend::EmuWindow& emu_window, Core::System& system) {
+ Settings::UpdateRescalingInfo();
+
const auto nvdec_value = Settings::values.nvdec_emulation.GetValue();
const bool use_nvdec = nvdec_value != Settings::NvdecEmulation::Off;
const bool use_async = Settings::values.use_asynchronous_gpu_emulation.GetValue();
diff --git a/src/yuzu/configuration/config.cpp b/src/yuzu/configuration/config.cpp
index 3803bf501..4c296a94d 100644
--- a/src/yuzu/configuration/config.cpp
+++ b/src/yuzu/configuration/config.cpp
@@ -850,8 +850,6 @@ void Config::ReadRendererValues() {
ReadBasicSetting(Settings::values.disable_shader_loop_safety_checks);
}
- Settings::UpdateRescalingInfo();
-
qt_config->endGroup();
}
@@ -1409,8 +1407,6 @@ void Config::SaveRendererValues() {
WriteBasicSetting(Settings::values.disable_shader_loop_safety_checks);
}
- Settings::UpdateRescalingInfo();
-
qt_config->endGroup();
}
diff --git a/src/yuzu/configuration/configure_graphics.cpp b/src/yuzu/configuration/configure_graphics.cpp
index e01efaeda..02498fad7 100644
--- a/src/yuzu/configuration/configure_graphics.cpp
+++ b/src/yuzu/configuration/configure_graphics.cpp
@@ -247,7 +247,6 @@ void ConfigureGraphics::ApplyConfiguration() {
Settings::values.bg_blue.SetValue(static_cast<u8>(bg_color.blue()));
}
}
- Settings::UpdateRescalingInfo();
}
void ConfigureGraphics::changeEvent(QEvent* event) {