From 5e666ef774d11d030ea9957ecc64a197de2abcd8 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 4 Jun 2008 20:28:20 +0000 Subject: Patch #1971285: "Nintendo Wii port" svn-id: r32547 --- common/scummsys.h | 8 ++++++++ common/system.cpp | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'common') diff --git a/common/scummsys.h b/common/scummsys.h index 4299de7243..939f34a5c3 100644 --- a/common/scummsys.h +++ b/common/scummsys.h @@ -369,6 +369,14 @@ #define STRINGBUFLEN 256 #define printf(fmt, ...) consolePrintf(fmt, ##__VA_ARGS__) +#elif defined(__WII__) + + #define scumm_stricmp strcasecmp + #define scumm_strnicmp strncasecmp + + #define SCUMM_BIG_ENDIAN + #define SCUMM_NEED_ALIGNMENT + #else #error No system type defined diff --git a/common/system.cpp b/common/system.cpp index f133f3c4e3..015f246b7a 100644 --- a/common/system.cpp +++ b/common/system.cpp @@ -137,7 +137,7 @@ void OSystem::clearScreen() { #endif FilesystemFactory *OSystem::getFilesystemFactory() { - #if defined(__amigaos4__) || defined(__DC__) || defined(__SYMBIAN32__) || defined(UNIX) || defined(WIN32) || defined(__PSP__) || defined(__DS__) + #if defined(__amigaos4__) || defined(__DC__) || defined(__SYMBIAN32__) || defined(UNIX) || defined(WIN32) || defined(__WII__) || defined(__PSP__) || defined(__DS__) // These ports already implement this function, so it should never be called. return 0; #elif defined(PALMOS_MODE) -- cgit v1.2.3