mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 22:13:51 +00:00
Disable the time function, after start core is not working fine.
This commit is contained in:
parent
bd9146ed72
commit
3bb0c7caa4
@ -70,24 +70,7 @@ static time_t _gmtotime_t (
|
||||
return seconds_from_1970;
|
||||
}
|
||||
|
||||
/* Protected methods in libc */
|
||||
void _ps2sdk_time_init(void)
|
||||
{
|
||||
SDL_Init(SDL_INIT_TIMER);
|
||||
}
|
||||
|
||||
/* Protected methods in libc */
|
||||
void _ps2sdk_time_deinit(void)
|
||||
{
|
||||
SDL_QuitSubSystem(SDL_INIT_TIMER);
|
||||
}
|
||||
|
||||
clock_t clock(void)
|
||||
{
|
||||
return SDL_GetTicks();
|
||||
}
|
||||
|
||||
time_t time(time_t *t) {
|
||||
time_t ps2_time(time_t *t) {
|
||||
time_t tim;
|
||||
sceCdCLOCK clocktime; /* defined in libcdvd.h */
|
||||
|
||||
@ -106,3 +89,26 @@ time_t time(time_t *t) {
|
||||
|
||||
return tim;
|
||||
}
|
||||
|
||||
/* Protected methods in libc */
|
||||
void _ps2sdk_time_init(void)
|
||||
{
|
||||
SDL_Init(SDL_INIT_TIMER);
|
||||
}
|
||||
|
||||
/* Protected methods in libc */
|
||||
void _ps2sdk_time_deinit(void)
|
||||
{
|
||||
SDL_QuitSubSystem(SDL_INIT_TIMER);
|
||||
}
|
||||
|
||||
clock_t clock(void)
|
||||
{
|
||||
return SDL_GetTicks();
|
||||
}
|
||||
|
||||
time_t time(time_t *t) {
|
||||
time_t tim = -1;
|
||||
/* TODO: This function need to be implemented again because the SDK one is not working fine */
|
||||
return time;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user