summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Version.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2026-06-22 08:29:56 +0200
committerJosJuice <josjuice@gmail.com>2026-06-22 08:36:44 +0200
commit47040a183428e8e6e2a5c8c28d8aa0b4d632d1cd (patch)
tree3d35a3ef1457358bc4dd816bd11ba42b0d45a988 /Source/Core/Common/Version.cpp
parentd202fd07d2a0a244fa43941fd80ec9aa4fa05476 (diff)
Don't send Dolphin version in user agent to Redump
When we added the RetroAchievements integration, we had a discussion about whether sending version information in the user agent was fine from a privacy standpoint. We reached the conclusion that it was okay, but it was conditional on the website having a privacy policy. Neither incarnation of Redump has that, and Redump also never asked us to send version information like RetroAchievements did, so let's use a user agent that just says "Dolphin" when connecting to Redump.
Diffstat (limited to 'Source/Core/Common/Version.cpp')
-rw-r--r--Source/Core/Common/Version.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/Core/Common/Version.cpp b/Source/Core/Common/Version.cpp
index 618d000b9f..5a34b73018 100644
--- a/Source/Core/Common/Version.cpp
+++ b/Source/Core/Common/Version.cpp
@@ -19,6 +19,12 @@ namespace Common
#define BUILD_TYPE_STR ""
#endif
+const std::string& GetEmulatorName()
+{
+ static const std::string emulator_name = EMULATOR_NAME;
+ return emulator_name;
+}
+
const std::string& GetScmRevStr()
{
static const std::string scm_rev_str = EMULATOR_NAME " "