Merged revisions 33188-33189,33191-33193,33196,33198,33202-33203,33206,33210,33212,33218-33220,33222,33224-33226,33229-33243,33246,33248-33250,33252,33258-33261,33263,33266,33270,33272-33283,33285,33287-33290,33295-33298,33321,33325-33330,33332-33335,33337-33340,33342,33345,33347,33349-33350,33352-33357,33359-33367,33369-33371,33373,33375-33377,33379-33380,33383-33385,33387-33389,33392-33394,33400-33402,33404-33405,33407-33410,33412-33416,33418-33419,33425-33427,33432,33436-33438,33444,33446,33452-33453,33455-33459,33463-33464,33466-33471,33473-33474,33478,33490,33492,33495-33496,33509-33512,33518-33519,33522-33527,33529-33530,33537,33541,33544,33546,33550,33552-33554,33556,33558,33561-33562,33565,33568,33570,33574,33576,33578-33581,33584-33587,33590,33596,33604-33611,33614-33615,33617-33618,33620-33621 via svnmerge from
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk svn-id: r33624
This commit is contained in:
commit
4198ee9623
315 changed files with 39736 additions and 3947 deletions
|
@ -479,6 +479,9 @@ Graphics::Surface *ScummEngine::loadThumbnailFromSlot(int slot) {
|
|||
Common::SeekableReadStream *in;
|
||||
SaveGameHeader hdr;
|
||||
|
||||
if (slot < 0)
|
||||
return 0;
|
||||
|
||||
makeSavegameName(filename, slot, false);
|
||||
if (!(in = _saveFileMan->openForLoading(filename))) {
|
||||
return 0;
|
||||
|
@ -507,6 +510,9 @@ bool ScummEngine::loadInfosFromSlot(int slot, InfoStuff *stuff) {
|
|||
Common::SeekableReadStream *in;
|
||||
SaveGameHeader hdr;
|
||||
|
||||
if (slot < 0)
|
||||
return 0;
|
||||
|
||||
makeSavegameName(filename, slot, false);
|
||||
if (!(in = _saveFileMan->openForLoading(filename))) {
|
||||
return false;
|
||||
|
@ -595,7 +601,7 @@ bool ScummEngine::loadInfos(Common::SeekableReadStream *file, InfoStuff *stuff)
|
|||
return true;
|
||||
}
|
||||
|
||||
void ScummEngine::saveInfos(Common::OutSaveFile* file) {
|
||||
void ScummEngine::saveInfos(Common::WriteStream* file) {
|
||||
SaveInfoSection section;
|
||||
section.type = MKID_BE('INFO');
|
||||
section.version = INFOSECTION_VERSION;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue