From 759c9d38464a56c4ad5b68a0d9adb38c22d06861 Mon Sep 17 00:00:00 2001 From: notaz Date: Thu, 19 Oct 2017 02:44:56 +0300 Subject: [PATCH] pandora: fix build Fixes: df9251536de "libretro: satisfy vita's dynarec needs in a cleaner way" --- cpu/sh2/compiler.c | 2 ++ platform/gp2x/plat.c | 5 +++++ platform/pandora/plat.c | 5 +++++ 3 files changed, 12 insertions(+) diff --git a/cpu/sh2/compiler.c b/cpu/sh2/compiler.c index 4403378e..7bd9de0e 100644 --- a/cpu/sh2/compiler.c +++ b/cpu/sh2/compiler.c @@ -1017,6 +1017,7 @@ static void rcache_unlock_all(void) reg_temp[i].flags &= ~HRF_LOCKED; } +#ifdef DRC_CMP static u32 rcache_used_hreg_mask(void) { u32 mask = 0; @@ -1028,6 +1029,7 @@ static u32 rcache_used_hreg_mask(void) return mask; } +#endif static void rcache_clean(void) { diff --git a/platform/gp2x/plat.c b/platform/gp2x/plat.c index 4d35cbd8..614ab7f0 100644 --- a/platform/gp2x/plat.c +++ b/platform/gp2x/plat.c @@ -179,6 +179,11 @@ void plat_video_menu_leave(void) { } +void *plat_mem_get_for_drc(size_t size) +{ + return NULL; +} + void plat_early_init(void) { // just use gettimeofday until plat_init() diff --git a/platform/pandora/plat.c b/platform/pandora/plat.c index 9cd5fc5b..2e9457a4 100644 --- a/platform/pandora/plat.c +++ b/platform/pandora/plat.c @@ -442,6 +442,11 @@ void plat_wait_till_us(unsigned int us_to) */ } +void *plat_mem_get_for_drc(size_t size) +{ + return NULL; +} + void plat_early_init(void) { } -- 2.39.5