# HG changeset patch # User Patrice Mandin # Date 1139425189 0 # Node ID adc8ff3c95972689443dbb23c76de530bd8ff6f8 # Parent 3f395c825b14821b65c375ca019c3034e1126d4b Fixes for new SDL embedded libc stuff diff -r 3f395c825b14 -r adc8ff3c9597 src/audio/mint/SDL_mintaudio.c --- a/src/audio/mint/SDL_mintaudio.c Wed Feb 08 17:23:32 2006 +0000 +++ b/src/audio/mint/SDL_mintaudio.c Wed Feb 08 18:59:49 2006 +0000 @@ -26,7 +26,6 @@ Patrice Mandin */ -#include #include #include @@ -35,6 +34,7 @@ #include "SDL_types.h" #include "SDL_audio.h" +#include "SDL_string.h" #include "SDL_mintaudio.h" #include "SDL_mintaudio_stfa.h" diff -r 3f395c825b14 -r adc8ff3c9597 src/cdrom/mint/SDL_syscdrom.c --- a/src/cdrom/mint/SDL_syscdrom.c Wed Feb 08 17:23:32 2006 +0000 +++ b/src/cdrom/mint/SDL_syscdrom.c Wed Feb 08 18:59:49 2006 +0000 @@ -33,6 +33,7 @@ #include "SDL_error.h" #include "SDL_cdrom.h" +#include "SDL_string.h" #include "SDL_syscdrom.h" /* Some ioctl() errno values which occur when the tray is empty */ diff -r 3f395c825b14 -r adc8ff3c9597 src/joystick/mint/SDL_sysjoystick.c --- a/src/joystick/mint/SDL_sysjoystick.c Wed Feb 08 17:23:32 2006 +0000 +++ b/src/joystick/mint/SDL_sysjoystick.c Wed Feb 08 18:59:49 2006 +0000 @@ -34,6 +34,7 @@ #include "SDL_types.h" #include "SDL_error.h" #include "SDL_joystick.h" +#include "SDL_events.h" #include "SDL_sysjoystick.h" #include "SDL_joystick_c.h" diff -r 3f395c825b14 -r adc8ff3c9597 src/video/ataricommon/SDL_biosevents.c --- a/src/video/ataricommon/SDL_biosevents.c Wed Feb 08 17:23:32 2006 +0000 +++ b/src/video/ataricommon/SDL_biosevents.c Wed Feb 08 18:59:49 2006 +0000 @@ -26,13 +26,12 @@ * Patrice Mandin */ -#include - /* Mint includes */ #include #include #include "SDL.h" +#include "SDL_string.h" #include "SDL_sysevents.h" #include "SDL_events_c.h" diff -r 3f395c825b14 -r adc8ff3c9597 src/video/ataricommon/SDL_gemdosevents.c --- a/src/video/ataricommon/SDL_gemdosevents.c Wed Feb 08 17:23:32 2006 +0000 +++ b/src/video/ataricommon/SDL_gemdosevents.c Wed Feb 08 18:59:49 2006 +0000 @@ -26,13 +26,12 @@ * Patrice Mandin */ -#include - /* Mint includes */ #include #include #include "SDL.h" +#include "SDL_string.h" #include "SDL_sysevents.h" #include "SDL_events_c.h" diff -r 3f395c825b14 -r adc8ff3c9597 src/video/ataricommon/SDL_ikbdevents.c --- a/src/video/ataricommon/SDL_ikbdevents.c Wed Feb 08 17:23:32 2006 +0000 +++ b/src/video/ataricommon/SDL_ikbdevents.c Wed Feb 08 18:59:49 2006 +0000 @@ -26,12 +26,11 @@ * Patrice Mandin */ -#include - /* Mint includes */ #include #include "SDL.h" +#include "SDL_string.h" #include "SDL_sysevents.h" #include "SDL_events_c.h" diff -r 3f395c825b14 -r adc8ff3c9597 src/video/gem/SDL_gemevents.c --- a/src/video/gem/SDL_gemevents.c Wed Feb 08 17:23:32 2006 +0000 +++ b/src/video/gem/SDL_gemevents.c Wed Feb 08 18:59:49 2006 +0000 @@ -29,11 +29,10 @@ * Olivier Landemarre, Johan Klockars, Xavier Joubert, Claude Attard */ -#include - #include #include "SDL.h" +#include "SDL_string.h" #include "SDL_sysevents.h" #include "SDL_events_c.h" #include "SDL_gemvideo.h" diff -r 3f395c825b14 -r adc8ff3c9597 src/video/xbios/SDL_xbios.c --- a/src/video/xbios/SDL_xbios.c Wed Feb 08 17:23:32 2006 +0000 +++ b/src/video/xbios/SDL_xbios.c Wed Feb 08 18:59:49 2006 +0000 @@ -672,7 +672,7 @@ if (XBIOS_centscreen) { SDL_XBIOS_CentscreenSetmode(this, width, height, new_depth); } else { - Vsetmode(new_video_mode->number); + VsetMode(new_video_mode->number); } #endif /* Set hardware palette to black in True Colour */ @@ -884,7 +884,7 @@ if (XBIOS_centscreen) { SDL_XBIOS_CentscreenRestore(this, XBIOS_oldvmode); } else { - Vsetmode(XBIOS_oldvmode); + VsetMode(XBIOS_oldvmode); } if (XBIOS_oldnumcol) { VsetRGB(0, XBIOS_oldnumcol, XBIOS_oldpalette);