diff options
author | Vladimir Menshakov | 2011-06-13 15:22:14 +0400 |
---|---|---|
committer | Alyssa Milburn | 2011-06-15 17:34:43 +0200 |
commit | 49e7c7a7355b78a3dc4e0aae120a95dba9600bbf (patch) | |
tree | 91a5ea2803e5905a697799cfd9fa2d04a8a47fcd /engines/dreamweb/dreamweb.cpp | |
parent | f46a889e6df85a9046a7468ce7acc0c4c34bf1e4 (diff) | |
download | scummvm-rg350-49e7c7a7355b78a3dc4e0aae120a95dba9600bbf.tar.gz scummvm-rg350-49e7c7a7355b78a3dc4e0aae120a95dba9600bbf.tar.bz2 scummvm-rg350-49e7c7a7355b78a3dc4e0aae120a95dba9600bbf.zip |
DREAMWEB: fixed occasional stripping of the strings in data segment
Diffstat (limited to 'engines/dreamweb/dreamweb.cpp')
-rw-r--r-- | engines/dreamweb/dreamweb.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/dreamweb/dreamweb.cpp b/engines/dreamweb/dreamweb.cpp index 3af867552d..8925817dcf 100644 --- a/engines/dreamweb/dreamweb.cpp +++ b/engines/dreamweb/dreamweb.cpp @@ -248,7 +248,7 @@ void DreamWebEngine::keyPressed(uint16 ascii) { if (ascii >= 'a' && ascii <= 'z') ascii = (ascii - 'a') + 'A'; debug(1, "key pressed = %04x", ascii); - uint8* keybuf = _context.data.ptr(5715, 16); //fixme: some hardcoded offsets are not added as consts + uint8* keybuf = _context.data.ptr(5912, 16); //fixme: some hardcoded offsets are not added as consts uint16 in = (_context.data.word(dreamgen::kBufferin) + 1) & 0x0f; uint16 out = _context.data.word(dreamgen::kBufferout); if (in == out) { @@ -807,7 +807,7 @@ void showpcx(Context &context) { pcxFile.seek(16, SEEK_SET); context.es = context.data.word(kBuffers); - maingamepal = context.es.ptr(4782, 768); + maingamepal = context.es.ptr(4782, 768); //fixme: hardcoded offset pcxFile.read(maingamepal, 48); memset(maingamepal + 48, 0xff, 720); |