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 )
This commit is contained in:
parent
8840de14d1
commit
b46edfbdc6
3 changed files with 12 additions and 5 deletions
|
@ -12,13 +12,14 @@ CFLAGS = -O3 -march=armv7-a -mcpu=cortex-a8 -mtune=cortex-a8 -mfloat-abi=softfp
|
||||||
|
|
||||||
TARGET = libSDL.a
|
TARGET = libSDL.a
|
||||||
|
|
||||||
SOURCES = ./src/*.c ./src/audio/*.c ./src/cdrom/*.c ./src/cpuinfo/*.c ./src/events/*.c \
|
SOURCES = ./src/*.c ./src/audio/*.c ./src/cpuinfo/*.c ./src/events/*.c \
|
||||||
./src/file/*.c ./src/stdlib/*.c ./src/thread/*.c ./src/timer/*.c ./src/video/*.c \
|
./src/file/*.c ./src/stdlib/*.c ./src/thread/*.c ./src/timer/*.c ./src/video/*.c \
|
||||||
./src/joystick/*.c ./src/haptic/*.c ./src/power/*.c ./src/video/dummy/*.c ./src/audio/disk/*.c \
|
./src/joystick/*.c ./src/haptic/*.c ./src/power/*.c ./src/video/dummy/*.c ./src/audio/disk/*.c \
|
||||||
./src/audio/dummy/*.c ./src/loadso/dlopen/*.c ./src/audio/dsp/*.c ./src/audio/dma/*.c \
|
./src/audio/dummy/*.c ./src/loadso/dlopen/*.c ./src/audio/dsp/*.c ./src/audio/dma/*.c \
|
||||||
./src/thread/pthread/SDL_systhread.c ./src/thread/pthread/SDL_syssem.c \
|
./src/thread/pthread/SDL_systhread.c ./src/thread/pthread/SDL_syssem.c \
|
||||||
./src/thread/pthread/SDL_sysmutex.c ./src/thread/pthread/SDL_syscond.c \
|
./src/thread/pthread/SDL_sysmutex.c ./src/thread/pthread/SDL_syscond.c \
|
||||||
./src/joystick/linux/*.c ./src/haptic/linux/*.c ./src/timer/unix/*.c ./src/cdrom/dummy/*.c \
|
./src/joystick/linux/*.c ./src/haptic/linux/*.c ./src/timer/unix/*.c \
|
||||||
|
./src/atomic/linux/*.c \
|
||||||
./src/video/pandora/SDL_pandora.o ./src/video/pandora/SDL_pandora_events.o ./src/video/x11/*.c
|
./src/video/pandora/SDL_pandora.o ./src/video/pandora/SDL_pandora_events.o ./src/video/x11/*.c
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -28,6 +28,12 @@
|
||||||
/* General platform specific identifiers */
|
/* General platform specific identifiers */
|
||||||
#include "SDL_platform.h"
|
#include "SDL_platform.h"
|
||||||
|
|
||||||
|
#ifdef __LP64__
|
||||||
|
#define SIZEOF_VOIDP 8
|
||||||
|
#else
|
||||||
|
#define SIZEOF_VOIDP 4
|
||||||
|
#endif
|
||||||
|
|
||||||
#define SDL_HAS_64BIT_TYPE 1
|
#define SDL_HAS_64BIT_TYPE 1
|
||||||
#define SDL_BYTEORDER 1234
|
#define SDL_BYTEORDER 1234
|
||||||
|
|
||||||
|
|
|
@ -68,8 +68,8 @@ typedef struct SDL_WindowData
|
||||||
/* Display and window functions */
|
/* Display and window functions */
|
||||||
int PND_videoinit(_THIS);
|
int PND_videoinit(_THIS);
|
||||||
void PND_videoquit(_THIS);
|
void PND_videoquit(_THIS);
|
||||||
void PND_getdisplaymodes(_THIS);
|
void PND_getdisplaymodes(_THIS, SDL_VideoDisplay * display);
|
||||||
int PND_setdisplaymode(_THIS, SDL_DisplayMode * mode);
|
int PND_setdisplaymode(_THIS, SDL_VideoDisplay * display, SDL_DisplayMode * mode);
|
||||||
int PND_setdisplaypalette(_THIS, SDL_Palette * palette);
|
int PND_setdisplaypalette(_THIS, SDL_Palette * palette);
|
||||||
int PND_getdisplaypalette(_THIS, SDL_Palette * palette);
|
int PND_getdisplaypalette(_THIS, SDL_Palette * palette);
|
||||||
int PND_setdisplaygammaramp(_THIS, Uint16 * ramp);
|
int PND_setdisplaygammaramp(_THIS, Uint16 * ramp);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue