src/stdafx.h
changeset 6218 89dc931b8d78
parent 6198 d1f995c47d7c
child 6227 ab74f5faf662
equal deleted inserted replaced
6217:4766eafe7e6d 6218:89dc931b8d78
    74 # define BSWAP16(x) ((uint16)Endian16_Swap(x))
    74 # define BSWAP16(x) ((uint16)Endian16_Swap(x))
    75 #else
    75 #else
    76 # define BSWAP32(x) ((((x) >> 24) & 0xFF) | (((x) >> 8) & 0xFF00) | (((x) << 8) & 0xFF0000) | (((x) << 24) & 0xFF000000))
    76 # define BSWAP32(x) ((((x) >> 24) & 0xFF) | (((x) >> 8) & 0xFF00) | (((x) << 8) & 0xFF0000) | (((x) << 24) & 0xFF000000))
    77 # define BSWAP16(x) ((x) >> 8 | (x) << 8)
    77 # define BSWAP16(x) ((x) >> 8 | (x) << 8)
    78 #endif /* __APPLE__ */
    78 #endif /* __APPLE__ */
       
    79 
       
    80 #if defined(PSP)
       
    81 /* PSP can only have 10 file-descriptors open at any given time, but this
       
    82  *  switch only limits reads via the Fio system. So keep 2 fds free for things
       
    83  *  like saving a game. */
       
    84 #define LIMITED_FDS 8
       
    85 #endif /* PSP */
    79 
    86 
    80 /* by default we use [] var arrays */
    87 /* by default we use [] var arrays */
    81 #define VARARRAY_SIZE
    88 #define VARARRAY_SIZE
    82 
    89 
    83 
    90