mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
533bb0846b
commit
81170a984d
|
@ -167,7 +167,7 @@ void HostSys::MmapResetPtr(void* base, size_t size)
|
||||||
// pretty well stops all PCSX2 threads anyway).
|
// pretty well stops all PCSX2 threads anyway).
|
||||||
|
|
||||||
Munmap(base, size);
|
Munmap(base, size);
|
||||||
void* result = Mmap((uptr)base, size);
|
void* result = MmapReservePtr(base, size);
|
||||||
|
|
||||||
pxAssertRel ((uptr)result != (uptr)base, pxsFmt(
|
pxAssertRel ((uptr)result != (uptr)base, pxsFmt(
|
||||||
"Virtual memory decommit failed: memory at 0x%08X -> 0x%08X could not be remapped. "
|
"Virtual memory decommit failed: memory at 0x%08X -> 0x%08X could not be remapped. "
|
||||||
|
|
Loading…
Reference in New Issue