diff src/audio/mint/SDL_mintaudio.h @ 3865:e958a003b69b SDL-1.2

Add function to check FPU presence
author Patrice Mandin <patmandin@gmail.com>
date Sat, 16 Sep 2006 10:38:09 +0000
parents a11c13151840
children 2325dd996f73
line wrap: on
line diff
--- a/src/audio/mint/SDL_mintaudio.h	Sat Sep 16 09:15:11 2006 +0000
+++ b/src/audio/mint/SDL_mintaudio.h	Sat Sep 16 10:38:09 2006 +0000
@@ -123,6 +123,7 @@
 extern volatile unsigned short SDL_MintAudio_mutex;
 extern cookie_stfa_t *SDL_MintAudio_stfa;
 extern volatile unsigned long SDL_MintAudio_clocktics;
+extern unsigned short SDL_MintAudio_hasfpu;	/* To preserve fpu registers if needed */
 
 /* MiNT thread variables */
 extern SDL_bool	SDL_MintAudio_mint_present;
@@ -135,6 +136,7 @@
 void SDL_MintAudio_AddFrequency(_THIS, Uint32 frequency, Uint32 clock,
 	Uint32 prediv, int gpio_bits);
 int SDL_MintAudio_SearchFrequency(_THIS, int desired_freq);
+void SDL_MintAudio_CheckFpu(void);
 
 /* MiNT thread functions */
 int SDL_MintAudio_Thread(long param);