Mercurial > sdl-ios-xcode
comparison src/timer/mint/SDL_systimer.c @ 2120:2c835d58faad
make indent
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 14 Jun 2007 13:21:29 +0000 |
parents | b42abf0a50bc |
children | e857f02e709e |
comparison
equal
deleted
inserted
replaced
2119:9341a884a4d9 | 2120:2c835d58faad |
---|---|
78 Uint32 now = start; | 78 Uint32 now = start; |
79 | 79 |
80 if (read_hz200_from_vbl) { | 80 if (read_hz200_from_vbl) { |
81 now = SDL_Atari_hz200; | 81 now = SDL_Atari_hz200; |
82 } else { | 82 } else { |
83 void *old_stack = (void *)Super(0); | 83 void *old_stack = (void *) Super(0); |
84 now = *((volatile long *)_hz_200); | 84 now = *((volatile long *) _hz_200); |
85 Super(old_stack); | 85 Super(old_stack); |
86 } | 86 } |
87 | 87 |
88 return ((now * 5) - start); | 88 return ((now * 5) - start); |
89 } | 89 } |