[ scummvm-Patches-697846 ] Fix for graphics glitches after saving
SourceForge.net
noreply at sourceforge.net
Wed Mar 5 09:06:48 CET 2003
Patches item #697846, was opened at 2003-03-05 09:06
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=697846&group_id=37116
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Torbjörn Andersson (eriktorbjorn)
Assigned to: Nobody/Anonymous (nobody)
Summary: Fix for graphics glitches after saving
Initial Comment:
This patch should prevent graphics glitches when saving
a game, manually or by autosave. Because the "usage
bits" array was made larger recently, I added code to
automatically clear it before loading a game so that
there wouldn't be any garbage in it when loading an
older savegame.
At least that was the intention. What it actually does
it to clear the array both before loading *and* saving.
What the hell was I thinking?!
One particularly noticeable example of this bug happens
if you save while talking to the Voodoo Lady in CMI.
By the way, I'm not sure clearing the array is
necessary even in the load case. In fact, I'm not
entirely convinced that we have to save the usage bits
at all. The full redraw after loading a savegame just
might be enough to reconstruct them. But I don't know.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=697846&group_id=37116
More information about the Scummvm-tracker
mailing list