ANY: Failed assertion on invalid save path
|Reported by:||eriktorbjorn||Owned by:||fingolfin|
Latest SVN snapshot
If I change the save path to point to an invalid directory, ScummVM fails an assertion when I try to save. I've tried it with the SCUMM engine, and earlier today with the Drascula engine, so I assume it affects all engines:
scummvm: common/fs.cpp:68: Common::FilesystemNode Common::FilesystemNode::getChild(const Common::String&) const: Assertion `_realNode->isDirectory()' failed.
Of course, you shouldn't be able to set an invalid save path in ScummVM, but it's quite possible that someone will set a valid save path, and then move that folder somewhere else.
Ticket imported from: #2098922. Ticket imported from: bugs/3951.