Russian-Doom / russian-doom

A limit-removing source port of Doom, Heretic and Hexen. It has numerous vanilla bug fixes, enhanced 640x400 and 1280x800 rendering resolutions, improved game palettes and offers many optional aesthetic game enhancements along with the maximum possible translation to the Russian language.
GNU General Public License v2.0
80 stars 14 forks source link

Doom: use PU_CACHE in R_PrecacheLevel #373

Closed JNechaevsky closed 2 years ago

JNechaevsky commented 2 years ago

This should prevent port to consume a lot of RAM and able to free it when necessary. RAM consumption after ~one minute of fast-forwarding Sunder maps by holding "Next Level":

Needs extensive and long-time playtesting, but there now full demo sync for such cases.

JNechaevsky commented 2 years ago

Port was able to run for about 24 hours of playing tntf65200 (packed as DEMO1/2/3 along with tnt31.wad for inner demo loop playing) and no crushes are happening on nuts.wad. Probably, all previous silent crashes were caused by mixed usage of STATIC/CACHE in status bar code, which is now fixed entirely. PU_WELLDONE!