src/timer/psp/SDL_systimer.c
changeset 7191 75360622e65f
parent 7009 161b7b6a5303
child 7649 4f801cd08f3f
--- a/src/timer/psp/SDL_systimer.c	Sat May 18 12:48:50 2013 -0700
+++ b/src/timer/psp/SDL_systimer.c	Sat May 18 14:17:52 2013 -0700
@@ -32,17 +32,17 @@
 
 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 @@
 
 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