diff options
author | Bertrand Augereau | 2011-08-10 17:34:41 +0200 |
---|---|---|
committer | Bertrand Augereau | 2011-08-10 17:34:41 +0200 |
commit | 80f712b5b9d15e87f29aea8992fbd1896a7eddfd (patch) | |
tree | 2e1929fc050646b9d5c36c2bb48eb2323fb58e8e /engines | |
parent | 81a522e03ee05716f06cb541511f165d138e104a (diff) | |
download | scummvm-rg350-80f712b5b9d15e87f29aea8992fbd1896a7eddfd.tar.gz scummvm-rg350-80f712b5b9d15e87f29aea8992fbd1896a7eddfd.tar.bz2 scummvm-rg350-80f712b5b9d15e87f29aea8992fbd1896a7eddfd.zip |
DREAMWEB: 'multidump' doesn't dirty ds anymore
Diffstat (limited to 'engines')
-rw-r--r-- | engines/dreamweb/vgagrafx.cpp | 3 |
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() { |