mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-24 02:36:27 +00:00
fix listSaveGames
svn-id: r34552
This commit is contained in:
parent
c1458bd2bb
commit
0046481763
@ -421,8 +421,8 @@ void ScummEngine::listSavegames(bool *marks, int num) {
|
||||
Common::StringList files;
|
||||
|
||||
Common::String prefix = makeSavegameName(99, false);
|
||||
prefix.setChar(prefix.size()-2, '*');
|
||||
prefix.setChar(prefix.size()-1, 0);
|
||||
prefix.setChar('*', prefix.size()-2);
|
||||
prefix.setChar(0, prefix.size()-1);
|
||||
memset(marks, false, num * sizeof(bool)); //assume no savegames for this title
|
||||
files = _saveFileMan->listSavefiles(prefix.c_str());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user