From 460e53172b8b3c4da9796bd2ea6eed6efdda0dd2 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 7 Dec 2011 16:47:02 +0100 Subject: 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. --- devtools/tasmrecover/tasm/cpp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'devtools') 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(); """ -- cgit v1.2.3