Patch #1853322: Patch for Atari ST/FreeMint

svn-id: r29906
This commit is contained in:
Max Horn 2007-12-19 14:03:53 +00:00
parent 272f02e001
commit 00ce6ac98d
2 changed files with 4 additions and 3 deletions

3
configure vendored
View File

@ -985,6 +985,7 @@ case $_host_os in
;; ;;
mint*) mint*)
DEFINES="$DEFINES -DUNIX -DSYSTEM_NOT_SUPPORTING_D_TYPE" DEFINES="$DEFINES -DUNIX -DSYSTEM_NOT_SUPPORTING_D_TYPE"
LIBS="$LIBS -lsocket"
;; ;;
amigaos*) amigaos*)
# TODO: anything to be added here? # TODO: anything to be added here?
@ -1057,7 +1058,7 @@ if test -n "$_host"; then
type_2_byte='short' type_2_byte='short'
type_4_byte='long' type_4_byte='long'
_ranlib=m68k-atari-mint-ranlib _ranlib=m68k-atari-mint-ranlib
_ar=m68k-atari-mint-ar _ar="m68k-atari-mint-ar cru"
;; ;;
i586-mingw32msvc) i586-mingw32msvc)
echo "Cross-compiling to $_host, forcing endianness, alignment and type sizes" echo "Cross-compiling to $_host, forcing endianness, alignment and type sizes"

View File

@ -33,7 +33,7 @@
#include "sound/fmopl.h" #include "sound/fmopl.h"
#if defined (_WIN32_WCE) || defined (__SYMBIAN32__) || defined(PALMOS_MODE) || defined(__GP32__) || defined(GP2X) || defined (__MAEMO__) || defined(__DS__) #if defined (_WIN32_WCE) || defined (__SYMBIAN32__) || defined(PALMOS_MODE) || defined(__GP32__) || defined(GP2X) || defined (__MAEMO__) || defined(__DS__) || defined (__MINT__)
#include "common/config-manager.h" #include "common/config-manager.h"
#endif #endif
@ -1171,7 +1171,7 @@ FM_OPL *makeAdlibOPL(int rate) {
// We need to emulate one YM3812 chip // We need to emulate one YM3812 chip
int env_bits = FMOPL_ENV_BITS_HQ; int env_bits = FMOPL_ENV_BITS_HQ;
int eg_ent = FMOPL_EG_ENT_HQ; int eg_ent = FMOPL_EG_ENT_HQ;
#if defined (_WIN32_WCE) || defined(__SYMBIAN32__) || defined(PALMOS_MODE) || defined(__GP32__) || defined (GP2X) || defined(__MAEMO__) || defined(__DS__) #if defined (_WIN32_WCE) || defined(__SYMBIAN32__) || defined(PALMOS_MODE) || defined(__GP32__) || defined (GP2X) || defined(__MAEMO__) || defined(__DS__) || defined (__MINT__)
if (ConfMan.hasKey("FM_high_quality") && ConfMan.getBool("FM_high_quality")) { if (ConfMan.hasKey("FM_high_quality") && ConfMan.getBool("FM_high_quality")) {
env_bits = FMOPL_ENV_BITS_HQ; env_bits = FMOPL_ENV_BITS_HQ;
eg_ent = FMOPL_EG_ENT_HQ; eg_ent = FMOPL_EG_ENT_HQ;