mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-02 14:51:40 +00:00
cleanup (and test for Marwan's branch.... ;)
svn-id: r33061
This commit is contained in:
parent
c48f3ca8d8
commit
c25c406c00
@ -949,7 +949,7 @@ SaveStateList ScummMetaEngine::listSaves(const char *target) const {
|
||||
sort(filenames.begin(), filenames.end()); // Sort (hopefully ensuring we are sorted numerically..)
|
||||
|
||||
SaveStateList saveList;
|
||||
for (Common::StringList::const_iterator file = filenames.begin(); file != filenames.end(); file++) {
|
||||
for (Common::StringList::const_iterator file = filenames.begin(); file != filenames.end(); ++file) {
|
||||
// Obtain the last 2 digits of the filename, since they correspond to the save slot
|
||||
int slotNum = atoi(file->c_str() + file->size() - 2);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user