mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 03:32:46 +00:00
(VITA) Remove Warnings
This commit is contained in:
parent
0da7bdebf8
commit
df4a1cc502
@ -32,6 +32,7 @@
|
|||||||
#if defined(SN_TARGET_PSP2) || defined(VITA)
|
#if defined(SN_TARGET_PSP2) || defined(VITA)
|
||||||
|
|
||||||
#ifdef VITA
|
#ifdef VITA
|
||||||
|
int sceClibPrintf ( const char * format, ... );
|
||||||
#define printf sceClibPrintf
|
#define printf sceClibPrintf
|
||||||
#define PSP_DISPLAY_PIXEL_FORMAT_8888 (SCE_DISPLAY_PIXELFORMAT_A8B8G8R8)
|
#define PSP_DISPLAY_PIXEL_FORMAT_8888 (SCE_DISPLAY_PIXELFORMAT_A8B8G8R8)
|
||||||
#else
|
#else
|
||||||
|
@ -153,8 +153,10 @@ retro_perf_tick_t cpu_features_get_perf_counter(void)
|
|||||||
time_ticks = __mftb();
|
time_ticks = __mftb();
|
||||||
#elif defined(GEKKO)
|
#elif defined(GEKKO)
|
||||||
time_ticks = gettime();
|
time_ticks = gettime();
|
||||||
#elif defined(PSP) || defined(VITA)
|
#elif defined(PSP)
|
||||||
sceRtcGetCurrentTick((uint64_t*)&time_ticks);
|
sceRtcGetCurrentTick((uint64_t*)&time_ticks);
|
||||||
|
#elif defined(VITA)
|
||||||
|
sceRtcGetCurrentTick((SceRtcTick*)&time_ticks);
|
||||||
#elif defined(_3DS)
|
#elif defined(_3DS)
|
||||||
time_ticks = svcGetSystemTick();
|
time_ticks = svcGetSystemTick();
|
||||||
#elif defined(__mips__)
|
#elif defined(__mips__)
|
||||||
@ -271,7 +273,7 @@ static uint64_t xgetbv_x86(uint32_t idx)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__ARM_NEON__)
|
#if defined(__ARM_NEON__)
|
||||||
static void arm_enable_runfast_mode(void)
|
static void arm_enable_runfast_mode(void)
|
||||||
{
|
{
|
||||||
/* RunFast mode. Enables flush-to-zero and some
|
/* RunFast mode. Enables flush-to-zero and some
|
||||||
|
Loading…
x
Reference in New Issue
Block a user