mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-19 08:25:35 +00:00
7adad5aaf5
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.