@@ -8,12 +8,16 @@
#include <SDL.h>
#include "player.h"
#include "hal.h"
#ifdef UNIX
#include <signal.h>
#ifdef __MORPHOS__
#define SIG_DFL (void (*)(int))0
#endif
#define DYNAMICALLY_LOADED_SDL
static SDL_Surface *_sdl_screen;
static int _sdl_usage;
@@ -146,17 +150,13 @@ static void SdlClose(uint32 x)
{
if (x != 0)
SDL_CALL SDL_QuitSubSystem(x);
if (--_sdl_usage == 0) {
SDL_CALL SDL_Quit();
#ifndef __MORPHOS__
signal(SIGABRT, SIG_DFL);
#else
signal(SIGABRT, (void (*)(int))0);
}
static void SdlVideoMakeDirty(int left, int top, int width, int height)
Status change: