From bd9012e3af9f64a6e7334d97915535b6d0944e2a Mon Sep 17 00:00:00 2001 From: milaq Date: Sun, 9 Feb 2020 15:20:27 +0100 Subject: [PATCH] Increase zone memory Double the amount of preallocated zone memory which is needed for some recent high resolution texture packs (e.g. "Neural Upscale" by MamiyaOtaru). Increasing this makes sense now that we have https://github.com/ioquake/ioq3/commit/20a77764dd7f62101f8a3750471dab300a840858#diff-12a54363af4f3f3aaa86590d1d6b3e38 and it doesn't hurt either in times where 8GB+ of ram is _very_ common. Additionally, as stated in https://github.com/ioquake/ioq3/blob/master/code/qcommon/common.c#L1435 is is impossible to set com_zonemegs via config file and thus making it hard to ship zonemegs increasement with any mods or packs. --- code/qcommon/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/qcommon/common.c b/code/qcommon/common.c index 8512cc0d..9b93b4d6 100644 --- a/code/qcommon/common.c +++ b/code/qcommon/common.c @@ -39,7 +39,7 @@ int demo_protocols[] = #define MIN_DEDICATED_COMHUNKMEGS 1 #define MIN_COMHUNKMEGS 56 #define DEF_COMHUNKMEGS 128 -#define DEF_COMZONEMEGS 24 +#define DEF_COMZONEMEGS 48 #define DEF_COMHUNKMEGS_S XSTRING(DEF_COMHUNKMEGS) #define DEF_COMZONEMEGS_S XSTRING(DEF_COMZONEMEGS)