scummvm/engines/bbvs
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
..
minigames BBVS: Fix hang when starting the Loogie minigame on the DS 2021-06-19 14:32:10 +02:00
bbvs.cpp BBVS: Support for the Loogie demo 2020-08-24 23:52:38 +02:00
bbvs.h BBVS: Fix Memset on Non-Trivial Structure GCC Compiler Warnings 2021-03-21 22:35:12 +00:00
configure.engine BBVS: Enable engine by default 2015-11-15 18:10:38 +01:00
credits.pl DEVTOOLS: move credits from devtools/credits.pl to engines 2021-08-05 00:01:46 +02:00
detection.cpp PLUGINS: MetaEngineStatic -> MetaEngineDetection 2020-10-11 23:14:39 +02:00
detection.h BBVS: Fix misdetection of Russian version as demo (#2625) 2020-11-16 14:00:46 +01:00
dialogs.cpp ALL: Remove use of "" in Common::U32String constructors 2020-11-16 16:56:58 +00:00
dialogs.h BBVS: Add override keywords 2020-02-09 12:43:14 +01:00
gamemodule.cpp JANITORIAL: Make GPL headers uniform 2016-09-03 12:46:38 +02:00
gamemodule.h JANITORIAL: Make GPL headers uniform 2016-09-03 12:46:38 +02:00
graphics.cpp JANITORIAL: Make GPL headers uniform 2016-09-03 12:46:38 +02:00
graphics.h JANITORIAL: Make GPL headers uniform 2016-09-03 12:46:38 +02:00
logic.cpp BBVS: Fix Missing Default Switch Cases 2019-10-16 19:12:57 +01:00
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
saveload.cpp BBVS: Fix Memset on Non-Trivial Structure GCC Compiler Warnings 2021-03-21 22:35:12 +00:00
scene.cpp BBVS: Fix Memset on Non-Trivial Structure GCC Compiler Warnings 2021-03-21 22:35:12 +00:00
sound.cpp JANITORIAL: Make GPL headers uniform 2016-09-03 12:46:38 +02:00
sound.h JANITORIAL: Make GPL headers uniform 2016-09-03 12:46:38 +02:00
spritemodule.cpp JANITORIAL: Make GPL headers uniform 2016-09-03 12:46:38 +02:00
spritemodule.h JANITORIAL: Make GPL headers uniform 2016-09-03 12:46:38 +02:00
videoplayer.cpp ENGINES: Remove default1x scaler flag 2017-10-07 12:30:29 -05:00
walk.cpp BBVS: Remove all bit shifts of potentially negative integers 2017-11-10 09:57:03 -06:00