Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
3953:d3c1161652d5 | 3954:649fba69eccd |
---|---|
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 SDL_StartTicks(void) | 59 void SDL_StartTicks(void) |
60 { | 60 { |
61 void *oldpile; | 61 void *oldpile; |