(VITA) Remove Warnings

This commit is contained in:
frangarcj 2016-09-19 13:34:07 +02:00
parent 0da7bdebf8
commit df4a1cc502
2 changed files with 5 additions and 2 deletions

View File

@ -32,6 +32,7 @@
#if defined(SN_TARGET_PSP2) || defined(VITA)
#ifdef VITA
int sceClibPrintf ( const char * format, ... );
#define printf sceClibPrintf
#define PSP_DISPLAY_PIXEL_FORMAT_8888 (SCE_DISPLAY_PIXELFORMAT_A8B8G8R8)
#else

View File

@ -153,8 +153,10 @@ retro_perf_tick_t cpu_features_get_perf_counter(void)
time_ticks = __mftb();
#elif defined(GEKKO)
time_ticks = gettime();
#elif defined(PSP) || defined(VITA)
#elif defined(PSP)
sceRtcGetCurrentTick((uint64_t*)&time_ticks);
#elif defined(VITA)
sceRtcGetCurrentTick((SceRtcTick*)&time_ticks);
#elif defined(_3DS)
time_ticks = svcGetSystemTick();
#elif defined(__mips__)
@ -271,7 +273,7 @@ static uint64_t xgetbv_x86(uint32_t idx)
}
#endif
#if defined(__ARM_NEON__)
#if defined(__ARM_NEON__)
static void arm_enable_runfast_mode(void)
{
/* RunFast mode. Enables flush-to-zero and some