diff options
Diffstat (limited to 'src/stdafx.h')
-rw-r--r-- | src/stdafx.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/stdafx.h b/src/stdafx.h index d2d57d1d9..29f32c3ce 100644 --- a/src/stdafx.h +++ b/src/stdafx.h @@ -77,6 +77,13 @@ # define BSWAP16(x) ((x) >> 8 | (x) << 8) #endif /* __APPLE__ */ +#if defined(PSP) +/* 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 +#endif /* PSP */ + /* by default we use [] var arrays */ #define VARARRAY_SIZE |