scummvm/engines/drascula
Orgad Shaneh 7adad5aaf5 ENGINES: Streamline auto-save write/delete protection
Some engines call setAutosave and some don't. isAutosave is used to
determine if a saved game is an autosave, but in fact, on most cases it
just falls back to comparing the name to "Autosave".

This is wrong for several reasons:
* Older versions of ScummVM used Autosave 0.
* The name "Autosave" is translated, so if you change the language, it
  won't be detected.

Instead of relying on the name, use the well-known getAutosaveSlot() from
Engine/MetaEngine.

Fixes #12735.
2021-08-23 13:34:35 +02:00
..
actors.cpp
animation.cpp
configure.engine
console.cpp
console.h
converse.cpp
credits.pl
detection.cpp
detection.h
drascula.cpp
drascula.h
graphics.cpp
interface.cpp
metaengine.cpp ENGINES: Streamline auto-save write/delete protection 2021-08-23 13:34:35 +02:00
module.mk
objects.cpp
palette.cpp
POTFILES
resource.cpp
rooms.cpp
saveload.cpp ENGINES: Streamline auto-save write/delete protection 2021-08-23 13:34:35 +02:00
sound.cpp
talk.cpp