mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-23 04:33:09 +00:00
Formatting.
svn-id: r34830
This commit is contained in:
parent
07220529dc
commit
a5a73ff9d6
@ -222,24 +222,23 @@ SaveStateList SwordMetaEngine::listSaves(const char *target) const {
|
||||
uint pos = 0;
|
||||
do {
|
||||
stop = in->readByte();
|
||||
if (pos < (sizeof(saveDesc) - 1)) {
|
||||
if ((stop == 10) || (stop == 255) || (in->eos())) {
|
||||
if (pos < (sizeof(saveDesc) - 1)) {
|
||||
if ((stop == 10) || (stop == 255) || (in->eos()))
|
||||
saveDesc[pos++] = '\0';
|
||||
}
|
||||
else if (stop >= 32) {
|
||||
else if (stop >= 32)
|
||||
saveDesc[pos++] = stop;
|
||||
}
|
||||
}
|
||||
} while ((stop != 10) && (stop != 255) && (!in->eos()));
|
||||
|
||||
if (saveDesc[0] != 0) {
|
||||
saveList.push_back(SaveStateDescriptor(slotNum, saveDesc, *file));
|
||||
file++;
|
||||
}
|
||||
} while ((stop != 255) && (!in->eos()));
|
||||
}
|
||||
|
||||
|
||||
delete in;
|
||||
|
||||
|
||||
return saveList;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user