From 5982072a442f2bd5b38791e9e98bfecd2c13ab25 Mon Sep 17 00:00:00 2001 From: Pierre Bourdon Date: Sun, 19 Jun 2016 16:36:18 +0200 Subject: [PATCH] analytics: More accurate video backend name. --- Source/Core/Core/Analytics.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Source/Core/Core/Analytics.cpp b/Source/Core/Core/Analytics.cpp index 939992cf04..0f077ca27f 100644 --- a/Source/Core/Core/Analytics.cpp +++ b/Source/Core/Core/Analytics.cpp @@ -20,6 +20,7 @@ #include "Core/ConfigManager.h" #include "Core/Movie.h" #include "Core/NetPlayProto.h" +#include "VideoCommon/VideoBackendBase.h" #include "VideoCommon/VideoConfig.h" namespace @@ -187,10 +188,13 @@ void DolphinAnalytics::MakePerGameBuilder() builder.AddData("cfg-fastmem", SConfig::GetInstance().bFastmem); builder.AddData("cfg-syncgpu", SConfig::GetInstance().bSyncGPU); builder.AddData("cfg-audio-backend", SConfig::GetInstance().sBackend); - builder.AddData("cfg-video-backend", SConfig::GetInstance().m_strVideoBackend); builder.AddData("cfg-oc-enable", SConfig::GetInstance().m_OCEnable); builder.AddData("cfg-oc-factor", SConfig::GetInstance().m_OCFactor); builder.AddData("cfg-render-to-main", SConfig::GetInstance().bRenderToMain); + if (g_video_backend) + { + builder.AddData("cfg-video-backend", g_video_backend->GetName()); + } // Video configuration. builder.AddData("cfg-gfx-multisamples", g_Config.iMultisamples);