libretro: satisfy vita's dynarec needs in a cleaner way

This commit is contained in:
notaz 2017-10-13 23:36:51 +03:00
parent 28a5b39232
commit df9251536d
5 changed files with 39 additions and 12 deletions

View file

@ -34,6 +34,9 @@ extern void cache_flush_d_inval_i(void *start_addr, void *end_addr);
extern void *plat_mmap(unsigned long addr, size_t size, int need_exec, int is_fixed);
extern void *plat_mremap(void *ptr, size_t oldsize, size_t newsize);
extern void plat_munmap(void *ptr, size_t size);
// memory for the dynarec; plat_mem_get_for_drc() can just return NULL
extern void *plat_mem_get_for_drc(size_t size);
extern int plat_mem_set_exec(void *ptr, size_t size);
// this one should handle display mode changes