Allocate memory for music on the system heap instead of Zone heap
The Zone memory heap is used to hold all formats of music data while it is being played. WAVE/FLAC/MP3 formats require a large amount of memory and necessitate a large Zone memory heap to be allocated when Odamex starts up. Most often, however, MIDI/MUS formats are being played and a large percentage of the Zone memory heap is unused. It would make sense to allocate memory for music on the system heap with new/delete instead, allowing Odamex to use a smaller heapsize than the default 128Mb.
Created attachment 512 [details]
switch memio functions to use the system heap
I made this patch a while ago and forgot to submit it, hope it helps
This patch was applied in r5154.
...and revoked in r5155.