[Scummvm-tracker] [ScummVM :: Bugs] #12850: Unable to save games in some (all?) engines
ScummVM :: Bugs
trac at scummvm.org
Fri Aug 27 21:31:02 UTC 2021
#12850: Unable to save games in some (all?) engines
--------------------+------------------------
Reporter: criezy | Owner: (none)
Type: defect | Status: new
Priority: blocker | Component: --Unset--
Version: | Resolution:
Keywords: | Game:
--------------------+------------------------
Comment (by criezy):
The issue about saving doing nothing is related to the addition of those
two lines:
{{{#!diff
--- a/gui/saveload-dialog.cpp
+++ b/gui/saveload-dialog.cpp
@@ -579,6 +591,8 @@ void SaveLoadChooserSimple::updateSelection(bool
redraw) {
if (selItem >= 0 && _metaInfoSupport) {
SaveStateDescriptor desc = (_saveList[selItem].getLocked()
? _saveList[selItem] : _metaEngine->querySaveMetaInfos(_target.c_str(),
_saveList[selItem].getSaveSlot()));
+ if (!_saveList[selItem].getLocked())
+ _saveList[selItem] = desc;
isDeletable = desc.getDeletableFlag() && _delSupport;
isWriteProtected = desc.getWriteProtectedFlag() ||
}}}
Removing those fixes that issue.
The assert is a separate issue that I am now bisecting.
--
Ticket URL: <https://bugs.scummvm.org/ticket/12850#comment:4>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list