MemoryUtil: mention Valgrind in mmap error message

This commit is contained in:
Tillmann Karras 2015-01-12 01:24:23 +01:00
parent f98359ef5c
commit 52b1a54597
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ void* AllocateExecutableMemory(size_t size, bool low)
{
ptr = nullptr;
#endif
PanicAlert("Failed to allocate executable memory");
PanicAlert("Failed to allocate executable memory. If you are running Dolphin in Valgrind, try '#undef MAP_32BIT'.");
}
#if !defined(_WIN32) && defined(_M_X86_64) && !defined(MAP_32BIT)
else