Ticket #8761: scummvm-mint-12182007.patch

File scummvm-mint-12182007.patch, 2.3 KB (added by SF/keithscr, 17 years ago)

Patch for Atari ST/FreeMiNT for ScummVM SVN

  • configure

     
    985985                ;;
    986986        mint*)
    987987                DEFINES="$DEFINES -DUNIX -DSYSTEM_NOT_SUPPORTING_D_TYPE"
     988                LIBS="$LIBS -lsocket"
    988989                ;;
    989990        amigaos*)
    990991                # TODO: anything to be added here?
     
    10571058                        type_2_byte='short'
    10581059                        type_4_byte='long'
    10591060                        _ranlib=m68k-atari-mint-ranlib
    1060                         _ar=m68k-atari-mint-ar
     1061                        _ar="m68k-atari-mint-ar cru"
    10611062                        ;;
    10621063                i586-mingw32msvc)
    10631064                        echo "Cross-compiling to $_host, forcing endianness, alignment and type sizes"
  • sound/fmopl.cpp

     
    3333
    3434#include "sound/fmopl.h"
    3535
    36 #if defined (_WIN32_WCE) || defined (__SYMBIAN32__) || defined(PALMOS_MODE) || defined(__GP32__) || defined(GP2X) || defined (__MAEMO__) || defined(__DS__)
     36#if defined (_WIN32_WCE) || defined (__SYMBIAN32__) || defined(PALMOS_MODE) || defined(__GP32__) || defined(GP2X) || defined (__MAEMO__) || defined(__DS__) || defined (__MINT__)
    3737#include "common/config-manager.h"
    3838#endif
    3939
     
    11711171        // We need to emulate one YM3812 chip
    11721172        int env_bits = FMOPL_ENV_BITS_HQ;
    11731173        int eg_ent = FMOPL_EG_ENT_HQ;
    1174 #if defined (_WIN32_WCE) || defined(__SYMBIAN32__) || defined(PALMOS_MODE) || defined(__GP32__) || defined (GP2X) || defined(__MAEMO__) || defined(__DS__)
     1174#if defined (_WIN32_WCE) || defined(__SYMBIAN32__) || defined(PALMOS_MODE) || defined(__GP32__) || defined (GP2X) || defined(__MAEMO__) || defined(__DS__) || defined (__MINT__)
    11751175        if (ConfMan.hasKey("FM_high_quality") && ConfMan.getBool("FM_high_quality")) {
    11761176                env_bits = FMOPL_ENV_BITS_HQ;
    11771177                eg_ent = FMOPL_EG_ENT_HQ;
  • graphics/primitives.cpp

     
    2626
    2727namespace Graphics {
    2828
    29 #ifdef MACOSX
     29#if defined MACOSX || defined __MINT__
    3030// Older versions of Mac OS X didn't supply a sqrtf function. To ensure
    3131// binary compatibility, we force using sqrt instead of sqrtf (the only
    3232// potential drawback is that it might be a little bit slower).