Common: Add Android to GetNetplayDolphinVer

This makes Android players show up as "Android" instead of "Lin".
(This is only visible in DolphinQt, not in the Android GUI.)

I'm also unabbreviating all the existing operating system names:

* Win -> Windows
* Mac -> macOS
* Lin -> Linux
This commit is contained in:
JosJuice
2026-08-16 09:18:37 +02:00
parent cd3ea81462
commit c774385c7b

View File

@@ -80,11 +80,15 @@ const std::string& GetScmUpdateTrackStr()
const std::string& GetNetplayDolphinVer()
{
#ifdef _WIN32
static const std::string netplay_dolphin_ver = SCM_DESC_STR " Win";
static const std::string netplay_dolphin_ver = SCM_DESC_STR " Windows";
#elif __APPLE__
static const std::string netplay_dolphin_ver = SCM_DESC_STR " Mac";
static const std::string netplay_dolphin_ver = SCM_DESC_STR " macOS";
#elif ANDROID
static const std::string netplay_dolphin_ver = SCM_DESC_STR " Android";
#elif __linux__
static const std::string netplay_dolphin_ver = SCM_DESC_STR " Linux";
#else
static const std::string netplay_dolphin_ver = SCM_DESC_STR " Lin";
static const std::string netplay_dolphin_ver = SCM_DESC_STR;
#endif
return netplay_dolphin_ver;
}