From 639e671d6b097b8daafd079cc952b13e011b35bd Mon Sep 17 00:00:00 2001 From: Nayla Hanegan Date: Wed, 22 May 2024 19:08:14 -0400 Subject: [PATCH] update window title to have git scm --- Source/Core/Common/Version.cpp | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/Source/Core/Common/Version.cpp b/Source/Core/Common/Version.cpp index 29e793d176..fa2e728f16 100644 --- a/Source/Core/Common/Version.cpp +++ b/Source/Core/Common/Version.cpp @@ -17,13 +17,6 @@ namespace Common #define BUILD_TYPE_STR "" #endif -const std::string& GetScmRevStr() -{ - #define MPN_REV_STR "02/27/2022" - static const std::string scm_rev_str = "Dolphin MPN"; - return scm_rev_str; -} - const std::string& GetScmRevGitStr() { static const std::string scm_rev_git_str = SCM_REV_STR; @@ -34,6 +27,12 @@ const std::string& GetScmDescStr() { static const std::string scm_desc_str = SCM_DESC_STR; return scm_desc_str; + +} +const std::string& GetScmRevStr() +{ + static const std::string scm_rev_str = std::string("Dolphin MPN [") + SCM_DESC_STR + "]"; + return scm_rev_str; } const std::string& GetScmBranchStr()