Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
libretro-minivmac
Commits
ee9e260c
Commit
ee9e260c
authored
Dec 19, 2020
by
Libretro-Admin
Browse files
remove obsolete __CELLOS_LV2__ references - use PSL1GHT
parent
ae13cf5b
Pipeline
#7072
passed with stages
in 2 minutes and 27 seconds
Changes
2
Pipelines
5
Hide whitespace changes
Inline
Side-by-side
libretro/libretro-core.c
View file @
ee9e260c
#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/time.h>
#include <time.h>
#endif
#ifdef WIIU
#include <features_cpu.h>
...
...
@@ -285,19 +279,7 @@ long GetTicks(void)
{
// in MSec
#ifndef _ANDROID_
#ifdef __CELLOS_LV2__
//#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)
#if defined(WIIU)
return
(
cpu_features_get_time_usec
());
///1000;
#else
struct
timeval
tv
;
...
...
libretro/libretro.h
View file @
ee9e260c
...
...
@@ -69,7 +69,7 @@ extern "C" {
# endif
# endif
# else
# if defined(__GNUC__) && __GNUC__ >= 4
&& !defined(__CELLOS_LV2__)
# if defined(__GNUC__) && __GNUC__ >= 4
# define RETRO_API RETRO_CALLCONV __attribute__((__visibility__("default")))
# else
# define RETRO_API RETRO_CALLCONV
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment