Forgot to check the low argument

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5158 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Sonicadvance1 2010-03-05 10:01:26 +00:00
parent 35bb2e70da
commit 56a1e15f41
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ void* AllocateExecutableMemory(size_t size, bool low)
, -1, 0); // | MAP_FIXED , -1, 0); // | MAP_FIXED
// printf("Mapped executable memory at %p (size %i)\n", retval, size); // 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 // Should only happen in 64bit OSX
// Just a reminder, to show a OSX user that it may fail // Just a reminder, to show a OSX user that it may fail