diff options
-rw-r--r-- | engines/dreamweb/dreamweb.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/dreamweb/dreamweb.cpp b/engines/dreamweb/dreamweb.cpp index 249e80cfb5..98efb3b85d 100644 --- a/engines/dreamweb/dreamweb.cpp +++ b/engines/dreamweb/dreamweb.cpp @@ -295,7 +295,7 @@ void multidump(Context &context) { //debug(1, "multidump %ux%u -> segment: %04x->%04x", w, h, (uint16)context.ds, (uint16)context.es); unsigned pitch = (uint16)context.data.word(kScreenwidth); unsigned offset = (uint16)context.di + (uint16)context.bx * pitch; - for(unsigned y = 0; y < h; ++y, offset += pitch * y) { + for(unsigned y = 0; y < h; ++y, offset += pitch) { uint8 *src_p = context.ds.ptr(offset, w); uint8 *dst_p = context.es.ptr(offset, w); memcpy(dst_p, src_p, w); |