diff options
Diffstat (limited to 'emulators/freesci/files')
3 files changed, 64 insertions, 0 deletions
diff --git a/emulators/freesci/files/patch-src::gdx::drivers::directfb_driver.c b/emulators/freesci/files/patch-src::gdx::drivers::directfb_driver.c new file mode 100644 index 000000000000..bd2109f29518 --- /dev/null +++ b/emulators/freesci/files/patch-src::gdx::drivers::directfb_driver.c @@ -0,0 +1,11 @@ +--- src/gfx/drivers/directfb_driver.c.orig Thu Feb 20 17:37:19 2003 ++++ src/gfx/drivers/directfb_driver.c Thu Feb 20 17:37:46 2003 +@@ -611,7 +611,7 @@ + + switch (pixel_format) { + +- case DSPF_RGB15: ++ case DSPF_ARGB1555: + *bytespp = 2; + *rm = 5; _rs = 10; + *gm = 5; _gs = 5; diff --git a/emulators/freesci/files/patch-src::sound::pcmout_oss.c b/emulators/freesci/files/patch-src::sound::pcmout_oss.c new file mode 100644 index 000000000000..41333d03d40b --- /dev/null +++ b/emulators/freesci/files/patch-src::sound::pcmout_oss.c @@ -0,0 +1,18 @@ +--- src/sound/pcmout_oss.c.orig Thu Feb 20 20:52:48 2003 ++++ src/sound/pcmout_oss.c Thu Feb 20 21:02:06 2003 +@@ -75,6 +75,15 @@ + return -1; + } + ++/* Some OSS don't define the native endian */ ++#ifndef AFMT_S16_NE ++ #if defined __i386__ || defined __alpha__ ++ #define AFMT_S16_NE AFMT_S16_LE ++ #elif defined __mips__ ++ #define AFMT_S16_NE AFMT_S16_BE ++ #endif ++ /* FIXME are these correct? */ ++#endif + i = AFMT_S16_NE; /* Use NATIVE endian format... */ + if (ioctl (oss_fd, SNDCTL_DSP_SETFMT, &i)) { + fprintf(stderr, "[PCM-OSS] Failed to set device output format\n"); diff --git a/emulators/freesci/files/patch-src::sound::pcmout_sdl.c b/emulators/freesci/files/patch-src::sound::pcmout_sdl.c new file mode 100644 index 000000000000..eb10e313d6a6 --- /dev/null +++ b/emulators/freesci/files/patch-src::sound::pcmout_sdl.c @@ -0,0 +1,35 @@ +--- src/gfx/drivers/sdl_driver.c.orig Tue Feb 4 21:12:10 2003 ++++ src/gfx/drivers/sdl_driver.c Tue Feb 4 21:16:42 2003 +@@ -45,7 +45,7 @@ + + #ifndef _MSC_VER + # include <sys/time.h> +-# include <SDL/SDL.h> ++# include <SDL11/SDL.h> + #else + # include <SDL.h> + #endif +--- src/sound/thread_ss_sdl.c.orig Tue Feb 4 21:15:31 2003 ++++ src/sound/thread_ss_sdl.c Tue Feb 4 21:16:25 2003 +@@ -32,8 +32,8 @@ + #ifdef HAVE_SDL + + #ifndef _MSC_VER +-# include <SDL/SDL.h> +-# include <SDL/SDL_thread.h> ++# include <SDL11/SDL.h> ++# include <SDL11/SDL_thread.h> + # include <sys/timeb.h> + #else + # include <SDL.h> +--- src/sound/pcmout_sdl.c.orig Tue Feb 4 21:15:37 2003 ++++ src/sound/pcmout_sdl.c Tue Feb 4 21:16:32 2003 +@@ -23,7 +23,7 @@ + + #ifndef _MSC_VER + # include <sys/time.h> +-# include <SDL/SDL.h> ++# include <SDL11/SDL.h> + #else + # include <SDL.h> + #endif |