aboutsummaryrefslogtreecommitdiff
path: root/devtools/tasmrecover/tasm
diff options
context:
space:
mode:
authorMax Horn2011-12-07 16:47:02 +0100
committerMax Horn2011-12-08 00:24:22 +0100
commit460e53172b8b3c4da9796bd2ea6eed6efdda0dd2 (patch)
tree04d1e44bb27c9f01c024cdbb2354672c6ebb705f /devtools/tasmrecover/tasm
parenta6ab1738243712bbc1db8a10f834542cd9d94c37 (diff)
downloadscummvm-rg350-460e53172b8b3c4da9796bd2ea6eed6efdda0dd2.tar.gz
scummvm-rg350-460e53172b8b3c4da9796bd2ea6eed6efdda0dd2.tar.bz2
scummvm-rg350-460e53172b8b3c4da9796bd2ea6eed6efdda0dd2.zip
DREAMWEB: Refactor segment management
All segment code is now in a new header file segment.h. A new class takes care of managing the segments: SegmentManager. The DreamBase class subclasses this -- thus, segments can now be accessed from within it.
Diffstat (limited to 'devtools/tasmrecover/tasm')
-rw-r--r--devtools/tasmrecover/tasm/cpp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/devtools/tasmrecover/tasm/cpp.py b/devtools/tasmrecover/tasm/cpp.py
index e507fd451d..686aea9ee9 100644
--- a/devtools/tasmrecover/tasm/cpp.py
+++ b/devtools/tasmrecover/tasm/cpp.py
@@ -644,7 +644,7 @@ namespace %s {
"""
class %sContext : public DreamBase, public Context {
public:
- DreamGenContext(DreamWeb::DreamWebEngine *en) : DreamBase(en), Context(data) {}
+ DreamGenContext(DreamWeb::DreamWebEngine *en) : DreamBase(en), Context(this) {}
void __start();
"""