comparison src/timer/mint/SDL_vbltimer_s.h @ 2116:b42abf0a50bc

Avoid switch to supervisor mode in SDL_GetTicks, by updating system counter from vbl interrupt
author Patrice Mandin <patmandin@gmail.com>
date Sat, 09 Jun 2007 19:58:41 +0000
parents c121d94672cb
children 99210400e8b9
comparison
equal deleted inserted replaced
2115:502ae1f2a577 2116:b42abf0a50bc
26 * based on vbl vector 26 * based on vbl vector
27 * 27 *
28 * Patrice Mandin 28 * Patrice Mandin
29 */ 29 */
30 30
31 extern volatile long SDL_Atari_hz200;
32
31 /* Functions prototypes */ 33 /* Functions prototypes */
32 extern int SDL_AtariVblInstall(void *newvector); 34 extern int SDL_AtariVblInstall(void *newvector);
33 extern void SDL_AtariVblUninstall(void *newvector); 35 extern void SDL_AtariVblUninstall(void *newvector);
34 /* vi: set ts=4 sw=4 expandtab: */ 36 /* vi: set ts=4 sw=4 expandtab: */