scummvm/engines/hugo
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
..
configure.engine
console.cpp
console.h
credits.pl DEVTOOLS: move credits from devtools/credits.pl to engines 2021-08-05 00:01:46 +02:00
detection.cpp
detection.h
dialogs.cpp
dialogs.h
display.cpp
display.h
file.cpp
file.h
file_v1d.cpp
file_v1w.cpp
file_v2d.cpp
file_v2w.cpp
file_v3d.cpp
game.h
hugo.cpp
hugo.h
intro.cpp
intro.h
inventory.cpp
inventory.h
metaengine.cpp ENGINES: Streamline auto-save write/delete protection 2021-08-23 13:34:35 +02:00
module.mk
mouse.cpp
mouse.h
object.cpp
object.h
object_v1d.cpp
object_v1w.cpp
object_v2d.cpp
object_v3d.cpp
parser.cpp
parser.h
parser_v1d.cpp
parser_v1w.cpp
parser_v2d.cpp
parser_v3d.cpp
POTFILES
route.cpp
route.h
schedule.cpp
schedule.h
sound.cpp
sound.h
text.cpp
text.h
util.cpp
util.h