Skip to content
Permalink
Browse files

Fixes for new SDL embedded libc stuff

  • Loading branch information
pmandin committed Feb 8, 2006
1 parent 46f9d7e commit 609bb6bcad777daa1ccaa9282c6178f9b86929c0
@@ -26,7 +26,6 @@
Patrice Mandin
*/

#include <string.h>
#include <unistd.h>

#include <mint/osbind.h>
@@ -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"
@@ -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 */
@@ -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"

@@ -26,13 +26,12 @@
* Patrice Mandin
*/

#include <string.h>

/* Mint includes */
#include <mint/osbind.h>
#include <mint/cookie.h>

#include "SDL.h"
#include "SDL_string.h"
#include "SDL_sysevents.h"
#include "SDL_events_c.h"

@@ -26,13 +26,12 @@
* Patrice Mandin
*/

#include <string.h>

/* Mint includes */
#include <mint/osbind.h>
#include <mint/cookie.h>

#include "SDL.h"
#include "SDL_string.h"
#include "SDL_sysevents.h"
#include "SDL_events_c.h"

@@ -26,12 +26,11 @@
* Patrice Mandin
*/

#include <string.h>

/* Mint includes */
#include <mint/osbind.h>

#include "SDL.h"
#include "SDL_string.h"
#include "SDL_sysevents.h"
#include "SDL_events_c.h"

@@ -29,11 +29,10 @@
* Olivier Landemarre, Johan Klockars, Xavier Joubert, Claude Attard
*/

#include <string.h>

#include <gem.h>

#include "SDL.h"
#include "SDL_string.h"
#include "SDL_sysevents.h"
#include "SDL_events_c.h"
#include "SDL_gemvideo.h"
@@ -672,7 +672,7 @@ static SDL_Surface *XBIOS_SetVideoMode(_THIS, SDL_Surface *current,
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 @@ static void XBIOS_VideoQuit(_THIS)
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);

0 comments on commit 609bb6b

Please sign in to comment.