summaryrefslogtreecommitdiff
path: root/src/timer/psp/SDL_systimer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/timer/psp/SDL_systimer.c')
-rw-r--r--src/timer/psp/SDL_systimer.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/timer/psp/SDL_systimer.c b/src/timer/psp/SDL_systimer.c
index cfb0aeb252..59bb4df1c3 100644
--- a/src/timer/psp/SDL_systimer.c
+++ b/src/timer/psp/SDL_systimer.c
@@ -32,17 +32,17 @@ static struct timeval start;
void SDL_StartTicks(void)
{
- gettimeofday(&start, NULL);
+ gettimeofday(&start, NULL);
}
Uint32 SDL_GetTicks(void)
{
- struct timeval now;
- Uint32 ticks;
+ struct timeval now;
+ Uint32 ticks;
- gettimeofday(&now, NULL);
- ticks=(now.tv_sec-start.tv_sec)*1000+(now.tv_usec-start.tv_usec)/1000;
- return(ticks);
+ gettimeofday(&now, NULL);
+ ticks=(now.tv_sec-start.tv_sec)*1000+(now.tv_usec-start.tv_usec)/1000;
+ return(ticks);
}
Uint64
@@ -59,10 +59,10 @@ SDL_GetPerformanceFrequency(void)
void SDL_Delay(Uint32 ms)
{
- const Uint32 max_delay = 0xffffffffUL / 1000;
- if(ms > max_delay)
- ms = max_delay;
- sceKernelDelayThreadCB(ms * 1000);
+ const Uint32 max_delay = 0xffffffffUL / 1000;
+ if(ms > max_delay)
+ ms = max_delay;
+ sceKernelDelayThreadCB(ms * 1000);
}
/* vim: ts=4 sw=4