mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 06:08:50 +00:00
Make our architecture defines less stupid.
Our defines were never clear between what meant 64bit or x86_64 This makes a clear cut between bitness and architecture. This commit also has the side effect of bringing up aarch64 compiling support.
This commit is contained in:
parent
d1ccd964cd
commit
4f02132f93
60 changed files with 368 additions and 349 deletions
|
@ -24,14 +24,16 @@ const char *scm_rev_str = "Dolphin "
|
|||
BUILD_TYPE_STR SCM_DESC_STR;
|
||||
#endif
|
||||
|
||||
#ifdef _M_X64
|
||||
#if _M_X86_64
|
||||
#define NP_ARCH "x64"
|
||||
#else
|
||||
#ifdef _M_ARM
|
||||
#define NP_ARCH "ARM"
|
||||
#else
|
||||
#elif _M_ARM_32
|
||||
#define NP_ARCH "ARM32"
|
||||
#elif _M_ARM_64
|
||||
#define NP_ARCH "ARM64"
|
||||
#elif _M_X86_32
|
||||
#define NP_ARCH "x86"
|
||||
#endif
|
||||
#else
|
||||
#define NP_ARCH "Unk"
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue