diff options
author | twinaphex | 2014-12-13 05:53:54 +0100 |
---|---|---|
committer | twinaphex | 2014-12-13 05:53:54 +0100 |
commit | 3a92bf0b7a2d929f53ae69cf761721c136f9036d (patch) | |
tree | a32adc2e685101e75d83ef8b64195c690121bc70 /libpcsxcore/psxmem.c | |
parent | 13bb560e427a36c6900ea09061efecc2a67d53d0 (diff) | |
download | pcsx_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.c | 5 |
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 |