mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-10 21:03:31 +00:00
DREAMWEB: Fix namesToOld/oldToNames
They only saved the first four savegame descriptions. (Bug from the original game.)
This commit is contained in:
parent
cd44631ffd
commit
b8d18d8ba8
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user