From bba7724aec6b6b440e166fdd95b65be5346977c1 Mon Sep 17 00:00:00 2001 From: Vladimir Date: Wed, 8 Jun 2011 01:12:50 +0400 Subject: DREAMWEB: added fake data register pointing to variables --- 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 a8d225359b..1e77893f89 100644 --- a/devtools/tasmrecover/tasm/cpp.py +++ b/devtools/tasmrecover/tasm/cpp.py @@ -63,7 +63,7 @@ namespace %s { if size == 0: raise Exception("invalid var '%s' size %u" %(name, size)) if self.indirection == 0: - value = "context.ds.%s(%d)" %("byte" if size == 1 else "word", g.offset) + value = "context.data.%s(%d)" %("byte" if size == 1 else "word", g.offset) elif self.indirection == -1: value = "%s" %g.offset self.indirection = 0 -- cgit v1.2.3