mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-10 12:55:24 +00:00
SCUMM: Formatting
This commit is contained in:
parent
21ba409e68
commit
82c6306443
@ -219,9 +219,9 @@ void ScummEngine_v4::loadVars() {
|
||||
|
||||
int slot;
|
||||
int slotSize;
|
||||
byte* slotContent;
|
||||
byte *slotContent;
|
||||
int savegameId;
|
||||
bool avail_saves[100];
|
||||
bool availSaves[100];
|
||||
|
||||
if (a == STRINGID_IQ_SERIES && b == STRINGID_IQ_SERIES) {
|
||||
// Zak256 loads the IQ script-slot but does not use it -> ignore it
|
||||
@ -235,7 +235,7 @@ void ScummEngine_v4::loadVars() {
|
||||
break;
|
||||
}
|
||||
|
||||
listSavegames(avail_saves, ARRAYSIZE(avail_saves));
|
||||
listSavegames(availSaves, ARRAYSIZE(availSaves));
|
||||
for (slot = a; slot <= b; ++slot) {
|
||||
slotSize = getResourceSize(rtString, slot);
|
||||
slotContent = getResourceAddress(rtString, slot);
|
||||
@ -243,7 +243,7 @@ void ScummEngine_v4::loadVars() {
|
||||
// load savegame names
|
||||
savegameId = slot - a + 1;
|
||||
Common::String name;
|
||||
if (avail_saves[savegameId] && getSavegameName(savegameId, name)) {
|
||||
if (availSaves[savegameId] && getSavegameName(savegameId, name)) {
|
||||
int pos;
|
||||
const char *ptr = name.c_str();
|
||||
// slotContent ends with {'\0','@'} -> max. length = slotSize-2
|
||||
|
Loading…
x
Reference in New Issue
Block a user