Hello Sam.
authorSam Lantinga <slouken@libsdl.org>
Thu, 17 Jun 2010 22:23:20 -0700
changeset 447111cedc036ca1
parent 4470 a5878b271b74
child 4472 791b3256fb22
Hello Sam.

I did fix/update the SDL 1.3 pandora port today ( 11 june 2010 ) and you can find the "hg diff" attached :)

David Carré ( Cpasjuste )
Makefile.pandora
include/SDL_config_pandora.h
src/video/pandora/SDL_pandora.h
     1.1 --- a/Makefile.pandora	Thu Jun 17 12:33:05 2010 -0700
     1.2 +++ b/Makefile.pandora	Thu Jun 17 22:23:20 2010 -0700
     1.3 @@ -12,14 +12,15 @@
     1.4  
     1.5  TARGET  = libSDL.a
     1.6  
     1.7 -SOURCES = ./src/*.c ./src/audio/*.c ./src/cdrom/*.c ./src/cpuinfo/*.c ./src/events/*.c \
     1.8 +SOURCES = ./src/*.c ./src/audio/*.c ./src/cpuinfo/*.c ./src/events/*.c \
     1.9  	./src/file/*.c ./src/stdlib/*.c ./src/thread/*.c ./src/timer/*.c ./src/video/*.c \
    1.10  	./src/joystick/*.c ./src/haptic/*.c ./src/power/*.c ./src/video/dummy/*.c ./src/audio/disk/*.c \
    1.11  	./src/audio/dummy/*.c ./src/loadso/dlopen/*.c ./src/audio/dsp/*.c ./src/audio/dma/*.c \
    1.12  	./src/thread/pthread/SDL_systhread.c ./src/thread/pthread/SDL_syssem.c \
    1.13  	./src/thread/pthread/SDL_sysmutex.c ./src/thread/pthread/SDL_syscond.c \
    1.14 -	./src/joystick/linux/*.c ./src/haptic/linux/*.c ./src/timer/unix/*.c ./src/cdrom/dummy/*.c \
    1.15 -	./src/video/pandora/SDL_pandora.o ./src/video/pandora/SDL_pandora_events.o ./src/video/x11/*.c
    1.16 +	./src/joystick/linux/*.c ./src/haptic/linux/*.c ./src/timer/unix/*.c \
    1.17 +	./src/atomic/linux/*.c \
    1.18 +	./src/video/pandora/SDL_pandora.o ./src/video/pandora/SDL_pandora_events.o ./src/video/x11/*.c 
    1.19  	
    1.20  
    1.21  OBJECTS = $(shell echo $(SOURCES) | sed -e 's,\.c,\.o,g')
     2.1 --- a/include/SDL_config_pandora.h	Thu Jun 17 12:33:05 2010 -0700
     2.2 +++ b/include/SDL_config_pandora.h	Thu Jun 17 22:23:20 2010 -0700
     2.3 @@ -28,6 +28,12 @@
     2.4  /* General platform specific identifiers */
     2.5  #include "SDL_platform.h"
     2.6  
     2.7 +#ifdef __LP64__
     2.8 +#define SIZEOF_VOIDP 8
     2.9 +#else
    2.10 +#define SIZEOF_VOIDP 4
    2.11 +#endif
    2.12 +
    2.13  #define SDL_HAS_64BIT_TYPE 1
    2.14  #define SDL_BYTEORDER 1234
    2.15  
     3.1 --- a/src/video/pandora/SDL_pandora.h	Thu Jun 17 12:33:05 2010 -0700
     3.2 +++ b/src/video/pandora/SDL_pandora.h	Thu Jun 17 22:23:20 2010 -0700
     3.3 @@ -68,8 +68,8 @@
     3.4  /* Display and window functions */
     3.5  int PND_videoinit(_THIS);
     3.6  void PND_videoquit(_THIS);
     3.7 -void PND_getdisplaymodes(_THIS);
     3.8 -int PND_setdisplaymode(_THIS, SDL_DisplayMode * mode);
     3.9 +void PND_getdisplaymodes(_THIS, SDL_VideoDisplay * display);
    3.10 +int PND_setdisplaymode(_THIS, SDL_VideoDisplay * display, SDL_DisplayMode * mode);
    3.11  int PND_setdisplaypalette(_THIS, SDL_Palette * palette);
    3.12  int PND_getdisplaypalette(_THIS, SDL_Palette * palette);
    3.13  int PND_setdisplaygammaramp(_THIS, Uint16 * ramp);