src/stdafx.h
changeset 6218 89dc931b8d78
parent 6198 d1f995c47d7c
child 6227 ab74f5faf662
--- a/src/stdafx.h	Thu Feb 08 21:53:15 2007 +0000
+++ b/src/stdafx.h	Thu Feb 08 23:46:25 2007 +0000
@@ -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