ENGINES: Use MetaEngine consistently for getting autosave slot
The autosave refactoring that was done in7adad5aaf5
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. Amends7adad5aaf5
.
This commit is contained in:
parent
7399dced7b
commit
fe104cc337
87 changed files with 182 additions and 180 deletions
|
@ -56,7 +56,7 @@ public:
|
|||
|
||||
SaveStateList saveList;
|
||||
for (uint32 i = 0; i < filenames.size(); i++)
|
||||
saveList.push_back(SaveStateDescriptor(i, filenames[i]));
|
||||
saveList.push_back(SaveStateDescriptor(this, i, filenames[i]));
|
||||
|
||||
return saveList;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue