host mem: fix wrong allocation method on linux

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4059 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
gregory.hainaut@gmail.com 2010-11-27 16:47:43 +00:00
parent 533bb0846b
commit 81170a984d
1 changed files with 1 additions and 1 deletions

View File

@ -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. "