diff options
author | Max Horn | 2011-04-05 11:39:07 +0200 |
---|---|---|
committer | Max Horn | 2011-04-05 15:18:08 +0200 |
commit | fb5330384708a345d0c3728691d3ea36295b29d0 (patch) | |
tree | 78bfea78dbe920abd18e433fd0c624d8f7eaa134 /engines/scumm/saveload.cpp | |
parent | d7a6bf58461ca4d780d354403fc40c9c91f66988 (diff) | |
download | scummvm-rg350-fb5330384708a345d0c3728691d3ea36295b29d0.tar.gz scummvm-rg350-fb5330384708a345d0c3728691d3ea36295b29d0.tar.bz2 scummvm-rg350-fb5330384708a345d0c3728691d3ea36295b29d0.zip |
SCUMM: Rename InfoStuff to SaveStateMetaInfos
Diffstat (limited to 'engines/scumm/saveload.cpp')
-rw-r--r-- | engines/scumm/saveload.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/scumm/saveload.cpp b/engines/scumm/saveload.cpp index bdae4c5f6a..fb34255683 100644 --- a/engines/scumm/saveload.cpp +++ b/engines/scumm/saveload.cpp @@ -373,7 +373,7 @@ bool ScummEngine::loadState(int slot, bool compat) { // Since version 56 we save additional information about the creation of // the save game and the save time. if (hdr.ver >= VER(56)) { - InfoStuff infos; + SaveStateMetaInfos infos; if (!loadInfos(in, &infos)) { warning("Info section could not be found"); delete in; @@ -703,7 +703,7 @@ Graphics::Surface *ScummEngine::loadThumbnailFromSlot(const char *target, int sl return thumb; } -bool ScummEngine::loadInfosFromSlot(const char *target, int slot, InfoStuff *stuff) { +bool ScummEngine::loadInfosFromSlot(const char *target, int slot, SaveStateMetaInfos *stuff) { Common::SeekableReadStream *in; SaveGameHeader hdr; @@ -741,8 +741,8 @@ bool ScummEngine::loadInfosFromSlot(const char *target, int slot, InfoStuff *stu return true; } -bool ScummEngine::loadInfos(Common::SeekableReadStream *file, InfoStuff *stuff) { - memset(stuff, 0, sizeof(InfoStuff)); +bool ScummEngine::loadInfos(Common::SeekableReadStream *file, SaveStateMetaInfos *stuff) { + memset(stuff, 0, sizeof(SaveStateMetaInfos)); SaveInfoSection section; section.type = file->readUint32BE(); |