Forgot to declare volatile stuff also in c file
authorPatrice Mandin <patmandin@gmail.com>
Thu, 11 May 2006 21:14:05 +0000
changeset 1819 63a45a87a57e
parent 1818 7995cc87b777
child 1820 133d55b02d51
Forgot to declare volatile stuff also in c file
src/audio/mint/SDL_mintaudio.c
--- a/src/audio/mint/SDL_mintaudio.c	Thu May 11 21:03:23 2006 +0000
+++ b/src/audio/mint/SDL_mintaudio.c	Thu May 11 21:14:05 2006 +0000
@@ -42,9 +42,9 @@
 SDL_AudioDevice *SDL_MintAudio_device;
 Uint8 *SDL_MintAudio_audiobuf[2];	/* Pointers to buffers */
 unsigned long SDL_MintAudio_audiosize;		/* Length of audio buffer=spec->size */
-unsigned short SDL_MintAudio_numbuf;		/* Buffer to play */
-unsigned short SDL_MintAudio_mutex;
-unsigned long SDL_MintAudio_clocktics;
+volatile unsigned short SDL_MintAudio_numbuf;		/* Buffer to play */
+volatile unsigned short SDL_MintAudio_mutex;
+volatile unsigned long SDL_MintAudio_clocktics;
 cookie_stfa_t	*SDL_MintAudio_stfa;
 
 /* MiNT thread variables */