mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-26 15:55:31 +01:00
MemoryUtil: mention Valgrind in mmap error message
This commit is contained in:
parent
f98359ef5c
commit
52b1a54597
@ -69,7 +69,7 @@ void* AllocateExecutableMemory(size_t size, bool low)
|
|||||||
{
|
{
|
||||||
ptr = nullptr;
|
ptr = nullptr;
|
||||||
#endif
|
#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)
|
#if !defined(_WIN32) && defined(_M_X86_64) && !defined(MAP_32BIT)
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user