Mercurial > sdl-ios-xcode
diff src/timer/mint/SDL_systimer.c @ 2052:eb5e61b72da3
Also save/restore fpu register in vbl interrupt
author | Patrice Mandin <patmandin@gmail.com> |
---|---|
date | Sat, 21 Oct 2006 18:56:35 +0000 |
parents | c121d94672cb |
children | 502ae1f2a577 |
line wrap: on
line diff
--- a/src/timer/mint/SDL_systimer.c Fri Oct 20 00:15:18 2006 +0000 +++ b/src/timer/mint/SDL_systimer.c Sat Oct 21 18:56:35 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; @@ -124,6 +127,8 @@ supervisor = SDL_FALSE; + SDL_MintAudio_CheckFpu(); + /* Install RunTimer in vbl vector */ oldpile = (void *) Super(0); timer_installed = !SDL_AtariVblInstall(RunTimer);