Mercurial > sdl-ios-xcode
comparison src/timer/mint/SDL_systimer.c @ 2115:502ae1f2a577
Set supervisor as volatile as it is modified from an interrupt
author | Patrice Mandin <patmandin@gmail.com> |
---|---|
date | Fri, 08 Jun 2007 21:44:55 +0000 |
parents | eb5e61b72da3 |
children | b42abf0a50bc |
comparison
equal
deleted
inserted
replaced
2114:4794e6f90feb | 2115:502ae1f2a577 |
---|---|
51 /* from audio/mint */ | 51 /* from audio/mint */ |
52 void SDL_MintAudio_CheckFpu(void); | 52 void SDL_MintAudio_CheckFpu(void); |
53 | 53 |
54 /* The first ticks value of the application */ | 54 /* The first ticks value of the application */ |
55 static Uint32 start; | 55 static Uint32 start; |
56 static SDL_bool supervisor; | 56 static volatile SDL_bool supervisor; |
57 static int mint_present; /* can we use Syield() ? */ | 57 static int mint_present; /* can we use Syield() ? */ |
58 | 58 |
59 void | 59 void |
60 SDL_StartTicks(void) | 60 SDL_StartTicks(void) |
61 { | 61 { |