diff options
-rw-r--r-- | engines/dreamweb/stubs.h | 1 | ||||
-rw-r--r-- | engines/dreamweb/vgagrafx.cpp | 6 |
2 files changed, 6 insertions, 1 deletions
diff --git a/engines/dreamweb/stubs.h b/engines/dreamweb/stubs.h index 38c0932319..892a24e11d 100644 --- a/engines/dreamweb/stubs.h +++ b/engines/dreamweb/stubs.h @@ -46,6 +46,7 @@ void frameoutbh(uint8 *dst, const uint8 *src, uint16 pitch, uint16 width, uint16 height, uint16 x, uint16 y); void frameoutfx(uint8 *dst, const uint8 *src, uint16 pitch, uint16 width, uint16 height, uint16 x, uint16 y); void worktoscreen(); + void workToScreenCPP(); void multiget(); void multiget(uint8 *dst, uint16 x, uint16 y, uint8 width, uint8 height); void convertkey(); diff --git a/engines/dreamweb/vgagrafx.cpp b/engines/dreamweb/vgagrafx.cpp index 11ba45f7eb..9871b5e998 100644 --- a/engines/dreamweb/vgagrafx.cpp +++ b/engines/dreamweb/vgagrafx.cpp @@ -94,9 +94,13 @@ void DreamGenContext::multidump() { cx = 0; } +void DreamGenContext::workToScreenCPP() { + engine->blit(workspace(), 320, 0, 0, 320, 200); +} + void DreamGenContext::worktoscreen() { + workToScreenCPP(); uint size = 320 * 200; - engine->blit(workspace(), 320, 0, 0, 320, 200); di = si = size; cx = 0; } |