mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-07 15:10:49 +00:00
ISO C90 fixes
This commit is contained in:
parent
0de7b0eca0
commit
7d89f09f74
11 changed files with 422 additions and 376 deletions
|
|
@ -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
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue