summaryrefslogtreecommitdiffstats
path: root/src/common/memory_util.cpp
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2015-05-07 23:17:33 +0200
committerYuri Kunde Schlesner <yuriks@yuriks.net>2015-05-07 23:22:36 +0200
commitfae5933ad614ca8c2559f499ebe16b518594cca3 (patch)
tree352d4e078789f31408c8f8658ba84cc03c08cbcf /src/common/memory_util.cpp
parentMerge pull request #721 from yuriks/more-cleanups (diff)
downloadyuzu-fae5933ad614ca8c2559f499ebe16b518594cca3.tar
yuzu-fae5933ad614ca8c2559f499ebe16b518594cca3.tar.gz
yuzu-fae5933ad614ca8c2559f499ebe16b518594cca3.tar.bz2
yuzu-fae5933ad614ca8c2559f499ebe16b518594cca3.tar.lz
yuzu-fae5933ad614ca8c2559f499ebe16b518594cca3.tar.xz
yuzu-fae5933ad614ca8c2559f499ebe16b518594cca3.tar.zst
yuzu-fae5933ad614ca8c2559f499ebe16b518594cca3.zip
Diffstat (limited to '')
-rw-r--r--src/common/memory_util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/memory_util.cpp b/src/common/memory_util.cpp
index 2087a1184..20b791a10 100644
--- a/src/common/memory_util.cpp
+++ b/src/common/memory_util.cpp
@@ -71,7 +71,7 @@ void* AllocateExecutableMemory(size_t size, bool low)
}
#endif
-#if defined(_M_X64)
+#if EMU_ARCH_BITS == 64
if ((u64)ptr >= 0x80000000 && low == true)
LOG_ERROR(Common_Memory, "Executable memory ended up above 2GB!");
#endif