From 87e5b45fe1aa734289cf57531c89988cfafff524 Mon Sep 17 00:00:00 2001 From: notaz Date: Tue, 27 Nov 2012 17:08:39 +0200 Subject: clean up mmap hacks still messy but perhaps beter --- frontend/libretro.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'frontend/libretro.c') 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 = { -- cgit v1.2.3