mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-19 00:15:30 +00:00
parent
45f6976805
commit
f02506f993
@ -578,6 +578,7 @@ void Scumm::saveOrLoad(Serializer *s, uint32 savegameVersion)
|
||||
|
||||
// Because old savegames won't fill the entire gfxUsageBits[] array,
|
||||
// clear it here just to be sure it won't hold any unforseen garbage.
|
||||
if (!s->isSaving())
|
||||
memset(gfxUsageBits, 0, sizeof(gfxUsageBits));
|
||||
|
||||
s->saveLoadEntries(this, mainEntries);
|
||||
|
Loading…
x
Reference in New Issue
Block a user