From: notaz Date: Wed, 18 Oct 2017 23:44:56 +0000 (+0300) Subject: pandora: fix build X-Git-Tag: v1.93~34 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=759c9d38464a56c4ad5b68a0d9adb38c22d06861;p=picodrive.git pandora: fix build Fixes: df9251536de "libretro: satisfy vita's dynarec needs in a cleaner way" --- 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) { }