diff options
-rw-r--r-- | engines/dreamweb/dreamweb.cpp | 2 | ||||
-rw-r--r-- | engines/dreamweb/stubs.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/dreamweb/dreamweb.cpp b/engines/dreamweb/dreamweb.cpp index 4781647ce1..09e6a15458 100644 --- a/engines/dreamweb/dreamweb.cpp +++ b/engines/dreamweb/dreamweb.cpp @@ -290,7 +290,7 @@ uint DreamWebEngine::readFromSaveFile(uint8 *data, uint size) { void DreamWebEngine::keyPressed(uint16 ascii) { debug(2, "key pressed = %04x", ascii); - uint8* keybuf = _context.data.ptr(5912, 16); //fixme: some hardcoded offsets are not added as consts + uint8* keybuf = _context.data.ptr(DreamGen::DreamGenContext::offset_keybuffer, 16); uint16 in = (_context.data.word(DreamGen::DreamGenContext::kBufferin) + 1) & 0x0f; uint16 out = _context.data.word(DreamGen::DreamGenContext::kBufferout); if (in == out) { diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp index af2f608571..230e885270 100644 --- a/engines/dreamweb/stubs.cpp +++ b/engines/dreamweb/stubs.cpp @@ -325,7 +325,7 @@ void DreamGenContext::dreamweb() { readSetData(); data.byte(kWongame) = 0; - dx = 1909; + dx = kBasicsample; loadSample(); setSoundOff(); |