diff --git a/engine/client/s_load.c b/engine/client/s_load.c index cb4573bf..e319da39 100644 --- a/engine/client/s_load.c +++ b/engine/client/s_load.c @@ -20,7 +20,11 @@ GNU General Public License for more details. // than could actually be referenced during gameplay, // because we don't want to free anything until we are // sure we won't need it. +#if XASH_PSP +#define MAX_SFX 2048 +#else #define MAX_SFX 8192 +#endif #define MAX_SFX_HASH (MAX_SFX/4) static int s_numSfx = 0; diff --git a/engine/client/sound.h b/engine/client/sound.h index fba869f7..09f75213 100644 --- a/engine/client/sound.h +++ b/engine/client/sound.h @@ -201,8 +201,13 @@ typedef struct //==================================================================== +#if XASH_PSP +#define MAX_DYNAMIC_CHANNELS (20 + NUM_AMBIENTS) +#define MAX_CHANNELS (128 + MAX_DYNAMIC_CHANNELS) +#else #define MAX_DYNAMIC_CHANNELS (60 + NUM_AMBIENTS) #define MAX_CHANNELS (256 + MAX_DYNAMIC_CHANNELS) // Scourge Of Armagon has too many static sounds on hip2m4.bsp +#endif #define MAX_RAW_CHANNELS 16 #define MAX_RAW_SAMPLES 8192 diff --git a/ref_gu/gu_local.h b/ref_gu/gu_local.h index 28f09ddd..200282b8 100644 --- a/ref_gu/gu_local.h +++ b/ref_gu/gu_local.h @@ -67,7 +67,7 @@ GNU General Public License for more details. extern byte *r_temppool; -#define LIGHTMAP_BPP 2 //1 2 3 4 +#define LIGHTMAP_BPP 1 //1 2 3 4 #if LIGHTMAP_BPP == 1 #define LIGHTMAP_FORMAT PF_RGB_332