Mercurial > sdl-ios-xcode
diff 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 |
line wrap: on
line diff
--- a/src/timer/mint/SDL_systimer.c Mon Jun 04 11:45:10 2007 +0000 +++ b/src/timer/mint/SDL_systimer.c Fri Jun 08 21:44:55 2007 +0000 @@ -53,7 +53,7 @@ /* The first ticks value of the application */ static Uint32 start; -static SDL_bool supervisor; +static volatile SDL_bool supervisor; static int mint_present; /* can we use Syield() ? */ void