aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb/vgagrafx.cpp
diff options
context:
space:
mode:
authorBertrand Augereau2011-08-10 17:34:41 +0200
committerBertrand Augereau2011-08-10 17:34:41 +0200
commit80f712b5b9d15e87f29aea8992fbd1896a7eddfd (patch)
tree2e1929fc050646b9d5c36c2bb48eb2323fb58e8e /engines/dreamweb/vgagrafx.cpp
parent81a522e03ee05716f06cb541511f165d138e104a (diff)
downloadscummvm-rg350-80f712b5b9d15e87f29aea8992fbd1896a7eddfd.tar.gz
scummvm-rg350-80f712b5b9d15e87f29aea8992fbd1896a7eddfd.tar.bz2
scummvm-rg350-80f712b5b9d15e87f29aea8992fbd1896a7eddfd.zip
DREAMWEB: 'multidump' doesn't dirty ds anymore
Diffstat (limited to 'engines/dreamweb/vgagrafx.cpp')
-rw-r--r--engines/dreamweb/vgagrafx.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/dreamweb/vgagrafx.cpp b/engines/dreamweb/vgagrafx.cpp
index ed195aa551..bb7f30fdb5 100644
--- a/engines/dreamweb/vgagrafx.cpp
+++ b/engines/dreamweb/vgagrafx.cpp
@@ -80,10 +80,9 @@ void DreamGenContext::multiput(const uint8 *src, uint16 x, uint16 y, uint8 w, ui
}
void DreamGenContext::multidump(uint16 x, uint16 y, uint8 width, uint8 height) {
- ds = data.word(kWorkspace);
unsigned offset = x + y * kScreenwidth;
//debug(1, "multidump %ux%u(segment: %04x) -> %d,%d(address: %d)", w, h, (uint16)ds, x, y, offset);
- engine->blit(ds.ptr(offset, width * height), kScreenwidth, x, y, width, height);
+ engine->blit(workspace() + offset, kScreenwidth, x, y, width, height);
}
void DreamGenContext::multidump() {