mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-19 08:25:35 +00:00
Bugfix for loading savegames where the active resource file database isn't completely filled
svn-id: r42047
This commit is contained in:
parent
c3403ac739
commit
3190bf68f2
@ -898,11 +898,15 @@ Common::Error loadSavegameData(int saveGameIdx) {
|
||||
printf("Unsupported mono file load!\n");
|
||||
ASSERT(0);
|
||||
//loadFileMode1(filesDatabase[j].subData.name,filesDatabase[j].subData.var4);
|
||||
} else */{
|
||||
} else */
|
||||
if (strlen(filesDatabase[i].subData.name) > 0) {
|
||||
loadFileRange(filesDatabase[i].subData.name, filesDatabase[i].subData.index, i, j - i);
|
||||
i = j - 1;
|
||||
} else {
|
||||
filesDatabase[i].subData.ptr = NULL;
|
||||
filesDatabase[i].subData.ptrMask = NULL;
|
||||
}
|
||||
|
||||
i = j - 1;
|
||||
lowMemory = lowMemorySave;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user