mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-09-08 11:26:23 -05:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user