From 52b1a5459773c16554bf1a3fc583706054e0e4cc Mon Sep 17 00:00:00 2001 From: Tillmann Karras Date: Mon, 12 Jan 2015 01:24:23 +0100 Subject: [PATCH] MemoryUtil: mention Valgrind in mmap error message --- Source/Core/Common/MemoryUtil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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