aboutsummaryrefslogtreecommitdiff
path: root/libpcsxcore/psxmem.c
diff options
context:
space:
mode:
authortwinaphex2014-12-13 05:53:54 +0100
committertwinaphex2014-12-13 05:53:54 +0100
commit3a92bf0b7a2d929f53ae69cf761721c136f9036d (patch)
treea32adc2e685101e75d83ef8b64195c690121bc70 /libpcsxcore/psxmem.c
parent13bb560e427a36c6900ea09061efecc2a67d53d0 (diff)
downloadpcsx_rearmed-3a92bf0b7a2d929f53ae69cf761721c136f9036d.tar.gz
pcsx_rearmed-3a92bf0b7a2d929f53ae69cf761721c136f9036d.tar.bz2
pcsx_rearmed-3a92bf0b7a2d929f53ae69cf761721c136f9036d.zip
Add mman wrapper for Win32 and use it for PCSX ReARmed libretro Win32
Diffstat (limited to 'libpcsxcore/psxmem.c')
-rw-r--r--libpcsxcore/psxmem.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libpcsxcore/psxmem.c b/libpcsxcore/psxmem.c
index 7001744..259128d 100644
--- a/libpcsxcore/psxmem.c
+++ b/libpcsxcore/psxmem.c
@@ -28,7 +28,12 @@
#include "r3000a.h"
#include "psxhw.h"
#include "debug.h"
+
+#ifdef __LIBRETRO__
+#include "memmap.h"
+#else
#include <sys/mman.h>
+#endif
#ifndef MAP_ANONYMOUS
#define MAP_ANONYMOUS MAP_ANON