DREAMWEB: Fix namesToOld/oldToNames

They only saved the first four savegame descriptions. (Bug from the
original game.)
This commit is contained in:
Willem Jan Palenstijn 2011-12-11 15:10:11 +01:00
parent cd44631ffd
commit b8d18d8ba8

View File

@ -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() {