diff options
author | bunnei <bunneidev@gmail.com> | 2019-12-02 21:22:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-02 21:22:51 +0100 |
commit | 560cfbc21ae39e7f366c7734da3d0699ed7e2ea6 (patch) | |
tree | 98c6d48cca93075e368942df576a0ba531e0e133 /src/core | |
parent | Merge pull request #2987 from FernandoS27/texture-invalid (diff) | |
parent | telemetry_session: Report renderer backend (diff) | |
download | yuzu-560cfbc21ae39e7f366c7734da3d0699ed7e2ea6.tar yuzu-560cfbc21ae39e7f366c7734da3d0699ed7e2ea6.tar.gz yuzu-560cfbc21ae39e7f366c7734da3d0699ed7e2ea6.tar.bz2 yuzu-560cfbc21ae39e7f366c7734da3d0699ed7e2ea6.tar.lz yuzu-560cfbc21ae39e7f366c7734da3d0699ed7e2ea6.tar.xz yuzu-560cfbc21ae39e7f366c7734da3d0699ed7e2ea6.tar.zst yuzu-560cfbc21ae39e7f366c7734da3d0699ed7e2ea6.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/telemetry_session.cpp | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/src/core/telemetry_session.cpp b/src/core/telemetry_session.cpp index 793d102d3..320e8ad73 100644 --- a/src/core/telemetry_session.cpp +++ b/src/core/telemetry_session.cpp @@ -165,24 +165,20 @@ void TelemetrySession::AddInitialInfo(Loader::AppLoader& app_loader) { Telemetry::AppendOSInfo(field_collection); // Log user configuration information - AddField(Telemetry::FieldType::UserConfig, "Audio_SinkId", Settings::values.sink_id); - AddField(Telemetry::FieldType::UserConfig, "Audio_EnableAudioStretching", - Settings::values.enable_audio_stretching); - AddField(Telemetry::FieldType::UserConfig, "Core_UseMultiCore", - Settings::values.use_multi_core); - AddField(Telemetry::FieldType::UserConfig, "Renderer_ResolutionFactor", - Settings::values.resolution_factor); - AddField(Telemetry::FieldType::UserConfig, "Renderer_UseFrameLimit", - Settings::values.use_frame_limit); - AddField(Telemetry::FieldType::UserConfig, "Renderer_FrameLimit", Settings::values.frame_limit); - AddField(Telemetry::FieldType::UserConfig, "Renderer_UseDiskShaderCache", - Settings::values.use_disk_shader_cache); - AddField(Telemetry::FieldType::UserConfig, "Renderer_UseAccurateGpuEmulation", + constexpr auto field_type = Telemetry::FieldType::UserConfig; + AddField(field_type, "Audio_SinkId", Settings::values.sink_id); + AddField(field_type, "Audio_EnableAudioStretching", Settings::values.enable_audio_stretching); + AddField(field_type, "Core_UseMultiCore", Settings::values.use_multi_core); + AddField(field_type, "Renderer_Backend", "OpenGL"); + AddField(field_type, "Renderer_ResolutionFactor", Settings::values.resolution_factor); + AddField(field_type, "Renderer_UseFrameLimit", Settings::values.use_frame_limit); + AddField(field_type, "Renderer_FrameLimit", Settings::values.frame_limit); + AddField(field_type, "Renderer_UseDiskShaderCache", Settings::values.use_disk_shader_cache); + AddField(field_type, "Renderer_UseAccurateGpuEmulation", Settings::values.use_accurate_gpu_emulation); - AddField(Telemetry::FieldType::UserConfig, "Renderer_UseAsynchronousGpuEmulation", + AddField(field_type, "Renderer_UseAsynchronousGpuEmulation", Settings::values.use_asynchronous_gpu_emulation); - AddField(Telemetry::FieldType::UserConfig, "System_UseDockedMode", - Settings::values.use_docked_mode); + AddField(field_type, "System_UseDockedMode", Settings::values.use_docked_mode); } bool TelemetrySession::SubmitTestcase() { |