summaryrefslogtreecommitdiffstats
path: root/src/common/platform.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-07-22 02:08:49 +0200
committerbunnei <bunneidev@gmail.com>2015-08-15 23:33:45 +0200
commitddbeebb887cff61b087a48738650832bc62c9e83 (patch)
tree130ff470aa19d7cdbdd2a8183ae4fcb12e061fc8 /src/common/platform.h
parentCommon: Ported over Dolphin's code for x86 CPU capability detection. (diff)
downloadyuzu-ddbeebb887cff61b087a48738650832bc62c9e83.tar
yuzu-ddbeebb887cff61b087a48738650832bc62c9e83.tar.gz
yuzu-ddbeebb887cff61b087a48738650832bc62c9e83.tar.bz2
yuzu-ddbeebb887cff61b087a48738650832bc62c9e83.tar.lz
yuzu-ddbeebb887cff61b087a48738650832bc62c9e83.tar.xz
yuzu-ddbeebb887cff61b087a48738650832bc62c9e83.tar.zst
yuzu-ddbeebb887cff61b087a48738650832bc62c9e83.zip
Diffstat (limited to 'src/common/platform.h')
-rw-r--r--src/common/platform.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/platform.h b/src/common/platform.h
index 0a912dda3..08aaa03a4 100644
--- a/src/common/platform.h
+++ b/src/common/platform.h
@@ -27,7 +27,7 @@
////////////////////////////////////////////////////////////////////////////////////////////////////
// Platform detection
-#if defined(__x86_64__) || defined(_M_X64) || defined(__aarch64__)
+#if defined(__x86_64__) || defined(_M_X86_64) || defined(__aarch64__)
#define EMU_ARCH_BITS 64
#elif defined(__i386) || defined(_M_IX86) || defined(__arm__) || defined(_M_ARM)
#define EMU_ARCH_BITS 32