Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #702 from lioncash/netplay-version
Common: State OS instead of 32/64 bit in the netplay lobby
  • Loading branch information
lioncash committed Aug 2, 2014
2 parents 44f751f + 22e9d69 commit 77c2b68
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions Source/Core/Common/Version.cpp
Expand Up @@ -24,24 +24,12 @@ const char *scm_rev_str = "Dolphin "
BUILD_TYPE_STR SCM_DESC_STR;
#endif

#if _M_X86_64
#define NP_ARCH "x64"
#elif _M_ARM_32
#define NP_ARCH "ARM32"
#elif _M_ARM_64
#define NP_ARCH "ARM64"
#elif _M_X86_32
#define NP_ARCH "x86"
#else
#define NP_ARCH "Unk"
#endif

#ifdef _WIN32
const char *netplay_dolphin_ver = SCM_DESC_STR " W" NP_ARCH;
const char *netplay_dolphin_ver = SCM_DESC_STR " Win";
#elif __APPLE__
const char *netplay_dolphin_ver = SCM_DESC_STR " M" NP_ARCH;
const char *netplay_dolphin_ver = SCM_DESC_STR " Mac";
#else
const char *netplay_dolphin_ver = SCM_DESC_STR " L" NP_ARCH;
const char *netplay_dolphin_ver = SCM_DESC_STR " Lin";
#endif

const char *scm_rev_git_str = SCM_REV_STR;
Expand Down

0 comments on commit 77c2b68

Please sign in to comment.