Mercurial > sdl-ios-xcode
diff src/timer/mint/SDL_systimer.c @ 3954:649fba69eccd SDL-1.2
Set supervisor as volatile as it is modified from an interrupt
author | Patrice Mandin <patmandin@gmail.com> |
---|---|
date | Fri, 08 Jun 2007 21:44:40 +0000 |
parents | cfe850b334e7 |
children | 40b6b5744e05 |
line wrap: on
line diff
--- a/src/timer/mint/SDL_systimer.c Mon Jun 04 11:43:47 2007 +0000 +++ b/src/timer/mint/SDL_systimer.c Fri Jun 08 21:44:40 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 SDL_StartTicks(void)