diff options
author | twinaphex | 2012-11-29 01:40:24 +0100 |
---|---|---|
committer | twinaphex | 2012-11-29 01:40:24 +0100 |
commit | 01f0020f8c4d96ce7ff425c0cab66ad93bf2159c (patch) | |
tree | 35d5f9f27fd33d95e1e005754a41102d3bd56f6b /frontend/libretro.c | |
parent | b194a2ecd43debbb3724e332b660b993725acd52 (diff) | |
parent | c02c3b656781a406fc4f586ac0923529de186916 (diff) | |
download | pcsx_rearmed-01f0020f8c4d96ce7ff425c0cab66ad93bf2159c.tar.gz pcsx_rearmed-01f0020f8c4d96ce7ff425c0cab66ad93bf2159c.tar.bz2 pcsx_rearmed-01f0020f8c4d96ce7ff425c0cab66ad93bf2159c.zip |
Merge git://github.com/notaz/pcsx_rearmed
Diffstat (limited to 'frontend/libretro.c')
-rw-r--r-- | frontend/libretro.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/frontend/libretro.c b/frontend/libretro.c index b832a4e..db13d7a 100644 --- a/frontend/libretro.c +++ b/frontend/libretro.c @@ -11,10 +11,10 @@ #include "../libpcsxcore/misc.h" #include "../libpcsxcore/psxcounters.h" +#include "../libpcsxcore/psxmem_map.h" #include "../libpcsxcore/new_dynarec/new_dynarec.h" #include "../plugins/dfsound/out.h" #include "../plugins/gpulib/cspace.h" -#include "linux/plat_mmap.h" #include "main.h" #include "plugin.h" #include "plugin_lib.h" @@ -98,12 +98,12 @@ static void vout_close(void) static void *pl_mmap(unsigned int size) { - return plat_mmap(0, size, 0, 0); + return psxMap(0, size, 0, MAP_TAG_VRAM); } static void pl_munmap(void *ptr, unsigned int size) { - plat_munmap(ptr, size); + psxUnmap(ptr, size, MAP_TAG_VRAM); } struct rearmed_cbs pl_rearmed_cbs = { |