aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb/vgagrafx.cpp
diff options
context:
space:
mode:
authorBertrand Augereau2011-08-03 12:21:46 +0200
committerBertrand Augereau2011-08-03 13:50:24 +0200
commit7fd8895de62ad0421d8038cdb0618b493aecec1c (patch)
treeeef727899908906744fb6f79c5324547ce284726 /engines/dreamweb/vgagrafx.cpp
parent52fef5a59949e915d1785c094dda64e2db5edea2 (diff)
downloadscummvm-rg350-7fd8895de62ad0421d8038cdb0618b493aecec1c.tar.gz
scummvm-rg350-7fd8895de62ad0421d8038cdb0618b493aecec1c.tar.bz2
scummvm-rg350-7fd8895de62ad0421d8038cdb0618b493aecec1c.zip
DREAMWEB: 'allocatework' ported to C++
Diffstat (limited to 'engines/dreamweb/vgagrafx.cpp')
-rw-r--r--engines/dreamweb/vgagrafx.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/dreamweb/vgagrafx.cpp b/engines/dreamweb/vgagrafx.cpp
index b0bfd12a8f..e61532fdb9 100644
--- a/engines/dreamweb/vgagrafx.cpp
+++ b/engines/dreamweb/vgagrafx.cpp
@@ -34,6 +34,10 @@ uint8 *DreamGenContext::workspace() {
return result;
}
+void DreamGenContext::allocatework() {
+ data.word(kWorkspace) = allocatemem(0x1000);
+}
+
void DreamGenContext::multiget() {
multiget(di, bx, cl, ch);
}