mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-24 21:21:05 +00:00

The autosave refactoring that was done in 7adad5aaf5831dc5adcee140f38aacc4a5db2518 used g_engine for identifying the autosave slot. This worked for in-game save/load, but doesn't fit when called from the launcher. Fix by passing MetaEngine to SaveStateDescriptor ctor and using it for this query. Amends 7adad5aaf5831dc5adcee140f38aacc4a5db2518.