changeset 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 d3c1161652d5
children 40b6b5744e05
files src/timer/mint/SDL_systimer.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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)