diff src/timer/mint/SDL_systimer.c @ 3883:cfe850b334e7 SDL-1.2

Also save/restore fpu register in vbl interrupt
author Patrice Mandin <patmandin@gmail.com>
date Sat, 21 Oct 2006 18:53:33 +0000
parents 92947e3a18db
children 649fba69eccd
line wrap: on
line diff
--- a/src/timer/mint/SDL_systimer.c	Sun Oct 01 02:30:03 2006 +0000
+++ b/src/timer/mint/SDL_systimer.c	Sat Oct 21 18:53:33 2006 +0000
@@ -48,6 +48,9 @@
 
 #include "SDL_vbltimer_s.h"
 
+/* from audio/mint */
+void SDL_MintAudio_CheckFpu(void);
+
 /* The first ticks value of the application */
 static Uint32 start;
 static SDL_bool supervisor;
@@ -119,6 +122,8 @@
 
 	supervisor=SDL_FALSE;
 
+	SDL_MintAudio_CheckFpu();
+
 	/* Install RunTimer in vbl vector */
 	oldpile=(void *)Super(0);
 	timer_installed = !SDL_AtariVblInstall(RunTimer);