summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorTillmann Karras <tilkax@gmail.com>2015-01-12 01:24:23 +0100
committerTillmann Karras <tilkax@gmail.com>2015-01-12 02:22:05 +0100
commit52b1a5459773c16554bf1a3fc583706054e0e4cc (patch)
treefda5beb0a06cc15e7407a68237d468bc7ed04de6 /Source/Core
parentf98359ef5c4da25d0a6bf2ea09f2a96618e7c768 (diff)
MemoryUtil: mention Valgrind in mmap error message
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Common/MemoryUtil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/MemoryUtil.cpp b/Source/Core/Common/MemoryUtil.cpp
index 87cc7812e0..e36babb03d 100644
--- a/Source/Core/Common/MemoryUtil.cpp
+++ b/Source/Core/Common/MemoryUtil.cpp
@@ -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