aboutsummaryrefslogtreecommitdiff
path: root/frontend/libretro.c
diff options
context:
space:
mode:
authornotaz2012-11-27 17:08:39 +0200
committernotaz2012-11-28 18:49:33 +0200
commit87e5b45fe1aa734289cf57531c89988cfafff524 (patch)
treebf4021d500e21181bc9f7689234df14b7863d3de /frontend/libretro.c
parentf33a0f965a62ca6a8392d16efad00c2bbd878351 (diff)
downloadpcsx_rearmed-87e5b45fe1aa734289cf57531c89988cfafff524.tar.gz
pcsx_rearmed-87e5b45fe1aa734289cf57531c89988cfafff524.tar.bz2
pcsx_rearmed-87e5b45fe1aa734289cf57531c89988cfafff524.zip
clean up mmap hacks
still messy but perhaps beter
Diffstat (limited to 'frontend/libretro.c')
-rw-r--r--frontend/libretro.c6
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 = {