diff options
author | Willem Jan Palenstijn | 2011-12-11 15:10:11 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2011-12-11 15:10:11 +0100 |
commit | b8d18d8ba88f0635f766902daf1105cd3f5788a1 (patch) | |
tree | af8cd10e38634d0c325689fbc9d63c6b8dfd8a93 /engines | |
parent | cd44631ffd7a84837dc4b5c30cb84cf76a44b483 (diff) | |
download | scummvm-rg350-b8d18d8ba88f0635f766902daf1105cd3f5788a1.tar.gz scummvm-rg350-b8d18d8ba88f0635f766902daf1105cd3f5788a1.tar.bz2 scummvm-rg350-b8d18d8ba88f0635f766902daf1105cd3f5788a1.zip |
DREAMWEB: Fix namesToOld/oldToNames
They only saved the first four savegame descriptions. (Bug from the
original game.)
Diffstat (limited to 'engines')
-rw-r--r-- | engines/dreamweb/saveload.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/dreamweb/saveload.cpp b/engines/dreamweb/saveload.cpp index 40b645154e..916c2b56ce 100644 --- a/engines/dreamweb/saveload.cpp +++ b/engines/dreamweb/saveload.cpp @@ -218,11 +218,11 @@ void DreamGenContext::saveGame() { } void DreamGenContext::namesToOld() { - memcpy(getSegment(data.word(kBuffers)).ptr(kZoomspace, 0), data.ptr(kSavenames, 0), 17*4); + memcpy(getSegment(data.word(kBuffers)).ptr(kZoomspace, 0), data.ptr(kSavenames, 0), 17*7); } void DreamGenContext::oldToNames() { - memcpy(data.ptr(kSavenames, 0), getSegment(data.word(kBuffers)).ptr(kZoomspace, 0), 17*4); + memcpy(data.ptr(kSavenames, 0), getSegment(data.word(kBuffers)).ptr(kZoomspace, 0), 17*7); } void DreamGenContext::saveLoad() { |