cleanup
svn-id: r6035
This commit is contained in:
parent
368a9917f7
commit
b2de35ace8
1 changed files with 3 additions and 3 deletions
|
@ -405,12 +405,12 @@ void SaveLoadDialog::fillList()
|
|||
// Get savegame names
|
||||
ScummVM::StringList l;
|
||||
char name[32];
|
||||
int i = _saveMode ? 1 : 0;
|
||||
uint i = _saveMode ? 1 : 0;
|
||||
bool avail_saves[81];
|
||||
SaveFileManager *mgr = _scumm->_system->get_savefile_manager();
|
||||
|
||||
_scumm->listSavegames(avail_saves, 81, mgr);
|
||||
for (; i <= 80; i++) { // 80 - got this value from the old GUI
|
||||
_scumm->listSavegames(avail_saves, sizeof(avail_saves), mgr);
|
||||
for (; i < sizeof(avail_saves); i++) {
|
||||
if(avail_saves[i])
|
||||
_scumm->getSavegameName(i, name, mgr);
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue