[qwaq] Up qwaq progs heap to 2MB

or 512kW (kilowatts? :P). Barely enough for vkgen to run (it runs out if
auto release is run during scan_types, probably due to fragmentation). I
imagine I need to look into better memory management schemes, especially
since I want to make zone allocations 64-byte aligned (instead of the
current 8). And it doesn't help that 16 words per allocation are
dedicated to the zone management.

Anyway, with this, vgken runs and produces sufficiently correct results
for the rest of QF to build, so long as qfcc is not optimizing.
This commit is contained in:
Bill Currie 2022-02-01 12:45:18 +09:00
parent bea1155e9e
commit f714b6fbea

View file

@ -226,7 +226,7 @@ load_progs (progs_t *pr, const char *name)
}
pr->progs_name = name;
pr->max_edicts = 1;
pr->zone_size = 1024*1024;
pr->zone_size = 2*1024*1024;
pr->stack_size = 64*1024;
PR_LoadProgsFile (pr, file, size);
Qclose (file);