diff options
| author | Sonicadvance1 <sonicadvance1@gmail.com> | 2010-03-05 09:26:10 +0000 |
|---|---|---|
| committer | Sonicadvance1 <sonicadvance1@gmail.com> | 2010-03-05 09:26:10 +0000 |
| commit | 529642de993641b06eea9ec77b84309ef7d71cca (patch) | |
| tree | 2d937b40b74eabacd736445bbbc6943082e3fab9 /Source/Core/Common/Src/MemoryUtil.cpp | |
| parent | d18ab50520ee667b4fb56a7a75304bdd19c554fe (diff) | |
Woops
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5156 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common/Src/MemoryUtil.cpp')
| -rw-r--r-- | Source/Core/Common/Src/MemoryUtil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/Src/MemoryUtil.cpp b/Source/Core/Common/Src/MemoryUtil.cpp index 5ccf5729d5..731b324634 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)ptr >= 0x80000000) + if ((u64)retval >= 0x80000000) { // Should only happen in 64bit OSX // Just a reminder, to show a OSX user that it may fail |
