mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Gah, screw it
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5159 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -62,13 +62,6 @@ 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) && low)
|
|
||||||
{
|
|
||||||
// Should only happen in 64bit OSX
|
|
||||||
// Just a reminder, to show a OSX user that it may fail
|
|
||||||
PanicAlert("Executable memory ended up above 2GB!");
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!retval)
|
if (!retval)
|
||||||
{
|
{
|
||||||
PanicAlert("Failed to allocate executable memory, errno=%i", errno);
|
PanicAlert("Failed to allocate executable memory, errno=%i", errno);
|
||||||
|
Reference in New Issue
Block a user