[Ohrrpgce] SVN: teeemcee/9868 Fix major memory leak while recording a gif. And now always preserve vpa

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Wed Dec 6 03:50:13 PST 2017


teeemcee
2017-12-06 03:50:12 -0800 (Wed, 06 Dec 2017)
531
Fix major memory leak while recording a gif. And now always preserve vpage

Every page fed to setvispage was duplicated and leaked.

It seems that I was prematurely optimising in trying to avoid perserving vpage;
actually the cost of the memcpy is pretty minor. I had timed it before and
found it was a major cost when running at 100's of fps, but that must have been
before I implemented frameskipping.

So this also prevents the possibility of overlays becoming permanently plastered
onto the screen (when making a copy of vpage)
---
U   wip/allmodex.bas
U   wip/allmodex.bi
U   wip/mapsubs.bas
U   wip/whatsnew.txt


More information about the Ohrrpgce mailing list