summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Src/MemoryUtil.cpp
diff options
context:
space:
mode:
authorSonicadvance1 <sonicadvance1@gmail.com>2010-03-05 10:01:26 +0000
committerSonicadvance1 <sonicadvance1@gmail.com>2010-03-05 10:01:26 +0000
commit56a1e15f415675202d8104c752376f0ccd7b4b75 (patch)
tree6bc7ca9006d2ce6633902fdd99c092d4a5c18781 /Source/Core/Common/Src/MemoryUtil.cpp
parent35bb2e70da02c52b750fe9e62d7c037b84c8bf21 (diff)
Forgot to check the low argument
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5158 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common/Src/MemoryUtil.cpp')
-rw-r--r--Source/Core/Common/Src/MemoryUtil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/Src/MemoryUtil.cpp b/Source/Core/Common/Src/MemoryUtil.cpp
index 731b324634..338d62cb88 100644
--- a/Source/Core/Common/Src/MemoryUtil.cpp
+++ b/Source/Core/Common/Src/MemoryUtil.cpp
@@ -62,7 +62,7 @@ void* AllocateExecutableMemory(size_t size, bool low)
, -1, 0); // | MAP_FIXED
// printf("Mapped executable memory at %p (size %i)\n", retval, size);
- if ((u64)retval >= 0x80000000)
+ if (((u64)retval >= 0x80000000) && low)
{
// Should only happen in 64bit OSX
// Just a reminder, to show a OSX user that it may fail