mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-14 23:38:14 +00:00
ISO C90 fixes
This commit is contained in:

committed by
Sam Lantinga

parent
0de7b0eca0
commit
7d89f09f74
@@ -20,7 +20,7 @@
|
||||
*/
|
||||
#include "../../SDL_internal.h"
|
||||
|
||||
#ifdef SDL_TIMERS_VITA
|
||||
#ifdef SDL_TIMER_VITA
|
||||
|
||||
#include "SDL_thread.h"
|
||||
#include "SDL_timer.h"
|
||||
@@ -53,13 +53,13 @@ SDL_TicksQuit(void)
|
||||
|
||||
Uint32 SDL_GetTicks(void)
|
||||
{
|
||||
uint64_t now;
|
||||
Uint32 ticks;
|
||||
|
||||
if (!ticks_started) {
|
||||
SDL_TicksInit();
|
||||
}
|
||||
|
||||
uint64_t now;
|
||||
Uint32 ticks;
|
||||
|
||||
now = sceKernelGetProcessTimeWide();
|
||||
ticks = (now - start)/1000;
|
||||
return (ticks);
|
||||
@@ -85,7 +85,7 @@ void SDL_Delay(Uint32 ms)
|
||||
sceKernelDelayThreadCB(ms * 1000);
|
||||
}
|
||||
|
||||
#endif /* SDL_TIMERS_VITA */
|
||||
#endif /* SDL_TIMER_VITA */
|
||||
|
||||
/* vim: ts=4 sw=4
|
||||
*/
|
||||
|
Reference in New Issue
Block a user