summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-02-14 04:06:11 +0100
committerbunnei <bunneidev@gmail.com>2020-02-26 02:57:02 +0100
commit571451bdfe18e9e53af3fa458f18a3192094eebe (patch)
tree7fe1331c3011b6e912fdf3d17f99944d418df2fd /src/core
parentMerge pull request #3461 from ReinUsesLisp/r32i-rt (diff)
downloadyuzu-571451bdfe18e9e53af3fa458f18a3192094eebe.tar
yuzu-571451bdfe18e9e53af3fa458f18a3192094eebe.tar.gz
yuzu-571451bdfe18e9e53af3fa458f18a3192094eebe.tar.bz2
yuzu-571451bdfe18e9e53af3fa458f18a3192094eebe.tar.lz
yuzu-571451bdfe18e9e53af3fa458f18a3192094eebe.tar.xz
yuzu-571451bdfe18e9e53af3fa458f18a3192094eebe.tar.zst
yuzu-571451bdfe18e9e53af3fa458f18a3192094eebe.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/settings.cpp1
-rw-r--r--src/core/settings.h1
-rw-r--r--src/core/telemetry_session.cpp1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/core/settings.cpp b/src/core/settings.cpp
index d1fc94060..7c0303684 100644
--- a/src/core/settings.cpp
+++ b/src/core/settings.cpp
@@ -94,6 +94,7 @@ void LogSettings() {
LogSetting("Renderer_UseAccurateGpuEmulation", Settings::values.use_accurate_gpu_emulation);
LogSetting("Renderer_UseAsynchronousGpuEmulation",
Settings::values.use_asynchronous_gpu_emulation);
+ LogSetting("Renderer_UseVsync", Settings::values.use_vsync);
LogSetting("Audio_OutputEngine", Settings::values.sink_id);
LogSetting("Audio_EnableAudioStretching", Settings::values.enable_audio_stretching);
LogSetting("Audio_OutputDevice", Settings::values.audio_device_id);
diff --git a/src/core/settings.h b/src/core/settings.h
index f837d3fbc..15b691342 100644
--- a/src/core/settings.h
+++ b/src/core/settings.h
@@ -435,6 +435,7 @@ struct Values {
bool use_disk_shader_cache;
bool use_accurate_gpu_emulation;
bool use_asynchronous_gpu_emulation;
+ bool use_vsync;
bool force_30fps_mode;
float bg_red;
diff --git a/src/core/telemetry_session.cpp b/src/core/telemetry_session.cpp
index 0e72d31cd..0f3685d1c 100644
--- a/src/core/telemetry_session.cpp
+++ b/src/core/telemetry_session.cpp
@@ -188,6 +188,7 @@ void TelemetrySession::AddInitialInfo(Loader::AppLoader& app_loader) {
Settings::values.use_accurate_gpu_emulation);
AddField(field_type, "Renderer_UseAsynchronousGpuEmulation",
Settings::values.use_asynchronous_gpu_emulation);
+ AddField(field_type, "Renderer_UseVsync", Settings::values.use_vsync);
AddField(field_type, "System_UseDockedMode", Settings::values.use_docked_mode);
}