mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-30 23:43:10 +00:00
Disallow overwriting of slot 0, quicksave and autosave slots.
svn-id: r34973
This commit is contained in:
parent
d7c5e9ce87
commit
b9b7b85d54
@ -1216,6 +1216,7 @@ SaveStateDescriptor KyraMetaEngine::querySaveMetaInfos(const char *target, int s
|
||||
SaveStateDescriptor desc(slot, header.description);
|
||||
|
||||
desc.setDeletableFlag(slot != 0);
|
||||
desc.setWriteProtectedFlag(slot == 0 || slot >= 990);
|
||||
desc.setThumbnail(header.thumbnail);
|
||||
|
||||
return desc;
|
||||
|
Loading…
x
Reference in New Issue
Block a user