scummvm/engines/cge
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
..
bitmap.cpp
bitmap.h
cge.cpp CGE: Fix Misleading Indentation GCC Warnings from TTS Addition 2021-07-18 05:31:51 +01:00
cge.h CGE: Change declaration place and descriptions 2021-07-21 21:36:00 +01:00
cge_main.cpp CGE: Fix Memset on non-trivial Structure GCC Compiler Warning 2021-03-21 15:01:26 +00:00
cge_main.h
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 CGE: Change declaration place and descriptions 2021-07-21 21:36:00 +01:00
events.cpp
events.h
fileio.cpp JANITORIAL: Update old bug tracker numbers 2021-03-03 02:15:05 +02:00
fileio.h
game.cpp
game.h
general.h
metaengine.cpp ENGINES: Streamline auto-save write/delete protection 2021-08-23 13:34:35 +02:00
module.mk ENGINES: ALL: Revert detection submodule to be directly present in the engine directory 2020-10-03 14:56:36 +02:00
POTFILES
snail.cpp
snail.h
sound.cpp CGE: Make sure to stop playing sounds before freeing resources 2021-04-01 23:25:43 +03:00
sound.h
talk.cpp CGE: Fix check to skip redrawing the infoline again and again with the same text 2021-07-21 21:36:00 +01:00
talk.h CGE: Fix check to skip redrawing the infoline again and again with the same text 2021-07-21 21:36:00 +01:00
text.cpp
text.h
vga13h.cpp
vga13h.h
vmenu.cpp
vmenu.h
walk.cpp
walk.h