aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb/vgagrafx.cpp
diff options
context:
space:
mode:
authorBertrand Augereau2011-11-18 14:58:23 +0100
committerBertrand Augereau2011-11-18 14:58:23 +0100
commit8e7ea5d461ef22e66a340e8c22497655f1a84f30 (patch)
tree5a7356311fce7c642bb5018c2d7e1ee83af0de5e /engines/dreamweb/vgagrafx.cpp
parent991370542b8276ac6a337c9efc0b6b66e890e6f5 (diff)
downloadscummvm-rg350-8e7ea5d461ef22e66a340e8c22497655f1a84f30.tar.gz
scummvm-rg350-8e7ea5d461ef22e66a340e8c22497655f1a84f30.tar.bz2
scummvm-rg350-8e7ea5d461ef22e66a340e8c22497655f1a84f30.zip
DREAMWEB: 'worktoscreen' C++ flavour without dirtying the regs
Diffstat (limited to 'engines/dreamweb/vgagrafx.cpp')
-rw-r--r--engines/dreamweb/vgagrafx.cpp6
1 files changed, 5 insertions, 1 deletions
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;
}