diff options
| author | Max Horn | 2005-10-21 23:04:58 +0000 |
|---|---|---|
| committer | Max Horn | 2005-10-21 23:04:58 +0000 |
| commit | b5e63f5bfb76a4002be5a7c081b0f3fc6d61a231 (patch) | |
| tree | c6a6f7a1d8d30c331a9ce4079b33853955d9dce7 /scumm/saveload.cpp | |
| parent | ffc5e1718f69954d08802ee3a134861b859f76a5 (diff) | |
| download | scummvm-rg350-b5e63f5bfb76a4002be5a7c081b0f3fc6d61a231.tar.gz scummvm-rg350-b5e63f5bfb76a4002be5a7c081b0f3fc6d61a231.tar.bz2 scummvm-rg350-b5e63f5bfb76a4002be5a7c081b0f3fc6d61a231.zip | |
Turn class Sound into a Serializable
svn-id: r19225
Diffstat (limited to 'scumm/saveload.cpp')
| -rw-r--r-- | scumm/saveload.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scumm/saveload.cpp b/scumm/saveload.cpp index fd94c22b71..0cfb1650af 100644 --- a/scumm/saveload.cpp +++ b/scumm/saveload.cpp @@ -625,8 +625,6 @@ void ScummEngine::saveOrLoad(Serializer *s, uint32 savegameVersion) { MKEND() }; - const SaveLoadEntry *soundEntries = _sound->getSaveLoadEntries(); - const SaveLoadEntry verbEntries[] = { MKLINE(VerbSlot, curRect.left, sleInt16, VER(8)), MKLINE(VerbSlot, curRect.top, sleInt16, VER(8)), @@ -957,7 +955,7 @@ void ScummEngine::saveOrLoad(Serializer *s, uint32 savegameVersion) { // // Save/load sound data // - s->saveLoadEntries(_sound, soundEntries); + _sound->saveLoadWithSerializer(s); // |
