Also save/restore fpu register in vbl interrupt

--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%402198
This commit is contained in:
Patrice Mandin 2006-10-21 18:53:33 +00:00
parent b894bd1a3c
commit 0a1cd99daf
2 changed files with 29 additions and 0 deletions

View file

@ -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 @@ int SDL_SYS_TimerInit(void)
supervisor=SDL_FALSE;
SDL_MintAudio_CheckFpu();
/* Install RunTimer in vbl vector */
oldpile=(void *)Super(0);
timer_installed = !SDL_AtariVblInstall(RunTimer);