diff options
author | Vladimir Menshakov | 2011-06-10 01:06:33 +0400 |
---|---|---|
committer | Alyssa Milburn | 2011-06-15 17:33:50 +0200 |
commit | 9717b220f10186d816c4a897157c4810ae615490 (patch) | |
tree | 623d267e0ee109c5c5874f51ffa77ebb97bad3c5 /devtools | |
parent | 834816db60fac762c44d4526fb5d48f689b71039 (diff) | |
download | scummvm-rg350-9717b220f10186d816c4a897157c4810ae615490.tar.gz scummvm-rg350-9717b220f10186d816c4a897157c4810ae615490.tar.bz2 scummvm-rg350-9717b220f10186d816c4a897157c4810ae615490.zip |
DREAMWEB: added names instead of offsets for variables
Diffstat (limited to 'devtools')
-rw-r--r-- | devtools/tasmrecover/tasm/cpp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/devtools/tasmrecover/tasm/cpp.py b/devtools/tasmrecover/tasm/cpp.py index 831074976d..0c1a4b4cec 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.data.%s(%d)" %("byte" if size == 1 else "word", g.offset) + value = "context.data.%s(k%s)" %("byte" if size == 1 else "word", name.capitalize()) elif self.indirection == -1: value = "%s" %g.offset self.indirection = 0 |