diff options
author | Fabio Battaglia | 2009-12-30 21:11:38 +0000 |
---|---|---|
committer | Fabio Battaglia | 2009-12-30 21:11:38 +0000 |
commit | a108df30a753bc062d2e2c041c70a4477f08b671 (patch) | |
tree | 13e38c42b014fa280f3a1be3aa950754dca3837e /common/scummsys.h | |
parent | 0de5bac3498e9e9d158e4055c08475e04a00e7b3 (diff) | |
download | scummvm-rg350-a108df30a753bc062d2e2c041c70a4477f08b671.tar.gz scummvm-rg350-a108df30a753bc062d2e2c041c70a4477f08b671.tar.bz2 scummvm-rg350-a108df30a753bc062d2e2c041c70a4477f08b671.zip |
Add Nintendo 64 port to trunk.
svn-id: r46773
Diffstat (limited to 'common/scummsys.h')
-rw-r--r-- | common/scummsys.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/common/scummsys.h b/common/scummsys.h index aa801afd03..98dd47e171 100644 --- a/common/scummsys.h +++ b/common/scummsys.h @@ -301,6 +301,31 @@ #define SCUMM_LITTLE_ENDIAN #define SCUMM_NEED_ALIGNMENT +#elif defined(__N64__) + + #define scumm_stricmp strcasecmp + #define scumm_strnicmp strncasecmp + + #define SCUMM_BIG_ENDIAN + #define SCUMM_NEED_ALIGNMENT + + #define STRINGBUFLEN 256 + + #define SCUMMVM_DONT_DEFINE_TYPES + typedef unsigned char byte; + + typedef unsigned char uint8; + typedef signed char int8; + + typedef unsigned short int uint16; + typedef signed short int int16; + + typedef unsigned int uint32; + typedef signed int int32; + + typedef unsigned long long uint64; + typedef signed long long int64; + #elif defined(__PSP__) #include <malloc.h> |