Commit ee9e260c authored by Libretro-Admin's avatar Libretro-Admin
Browse files

remove obsolete __CELLOS_LV2__ references - use PSL1GHT

parent ae13cf5b
Pipeline #7072 passed with stages
in 2 minutes and 27 seconds
#include <ctype.h> #include <ctype.h>
#ifdef __CELLOS_LV2__
#include <sys/sys_time.h>
#include <sys/timer.h>
#define usleep sys_timer_usleep
#else
#include <sys/types.h> #include <sys/types.h>
#include <sys/time.h> #include <sys/time.h>
#include <time.h> #include <time.h>
#endif
#ifdef WIIU #ifdef WIIU
#include <features_cpu.h> #include <features_cpu.h>
...@@ -285,19 +279,7 @@ long GetTicks(void) ...@@ -285,19 +279,7 @@ long GetTicks(void)
{ // in MSec { // in MSec
#ifndef _ANDROID_ #ifndef _ANDROID_
#ifdef __CELLOS_LV2__ #if defined(WIIU)
//#warning "GetTick PS3\n"
unsigned long ticks_micro;
uint64_t secs;
uint64_t nsecs;
sys_time_get_current_time(&secs, &nsecs);
ticks_micro = secs * 1000000UL + (nsecs / 1000);
return ticks_micro;///1000;
#elif defined(WIIU)
return (cpu_features_get_time_usec());///1000; return (cpu_features_get_time_usec());///1000;
#else #else
struct timeval tv; struct timeval tv;
......
...@@ -69,7 +69,7 @@ extern "C" { ...@@ -69,7 +69,7 @@ extern "C" {
# endif # endif
# endif # endif
# else # else
# if defined(__GNUC__) && __GNUC__ >= 4 && !defined(__CELLOS_LV2__) # if defined(__GNUC__) && __GNUC__ >= 4
# define RETRO_API RETRO_CALLCONV __attribute__((__visibility__("default"))) # define RETRO_API RETRO_CALLCONV __attribute__((__visibility__("default")))
# else # else
# define RETRO_API RETRO_CALLCONV # define RETRO_API RETRO_CALLCONV
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment