From 81170a984d5433004aaef31674df25fb88a830bf Mon Sep 17 00:00:00 2001 From: "gregory.hainaut@gmail.com" Date: Sat, 27 Nov 2010 16:47:43 +0000 Subject: [PATCH] host mem: fix wrong allocation method on linux git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4059 96395faa-99c1-11dd-bbfe-3dabce05a288 --- common/src/Utilities/Linux/LnxHostSys.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/Utilities/Linux/LnxHostSys.cpp b/common/src/Utilities/Linux/LnxHostSys.cpp index a92c2475fc..8bd0630091 100644 --- a/common/src/Utilities/Linux/LnxHostSys.cpp +++ b/common/src/Utilities/Linux/LnxHostSys.cpp @@ -167,7 +167,7 @@ void HostSys::MmapResetPtr(void* base, size_t size) // pretty well stops all PCSX2 threads anyway). Munmap(base, size); - void* result = Mmap((uptr)base, size); + void* result = MmapReservePtr(base, size); pxAssertRel ((uptr)result != (uptr)base, pxsFmt( "Virtual memory decommit failed: memory at 0x%08X -> 0x%08X could not be remapped. "