Mercurial > hg > openttd
diff src/stdafx.h @ 5976:93a644e6044b draft
(svn r8674) [PSP] -Add: added network code for PSP, based on the work of Turulo
-Add: added general header-inclusing for PSP
author | truelight <truelight@openttd.org> |
---|---|
date | Sun, 11 Feb 2007 13:57:35 +0000 (2007-02-11) |
parents | 0516aee3881f |
children | 37a5650e8596 |
line wrap: on
line diff
--- a/src/stdafx.h +++ b/src/stdafx.h @@ -37,6 +37,12 @@ # define strcasecmp stricmp #endif +#if defined(PSP) +# include <psptypes.h> +# include <pspdebug.h> +# include <pspthreadman.h> +#endif /* PSP */ + #ifdef __BEOS__ # include <SupportDefs.h> #endif @@ -81,7 +87,8 @@ /* PSP can only have 10 file-descriptors open at any given time, but this * switch only limits reads via the Fio system. So keep 2 fds free for things * like saving a game. */ -#define LIMITED_FDS 8 +# define LIMITED_FDS 8 +# define printf pspDebugScreenPrintf #endif /* PSP */ /* by default we use [] var arrays */