diff options
author | Vladimir | 2011-06-07 00:58:18 +0400 |
---|---|---|
committer | Alyssa Milburn | 2011-06-15 17:30:39 +0200 |
commit | a0e56d9cad9148ae2c6fb5d616bc15c47de79e77 (patch) | |
tree | 8d8b97e10ee203353a9f6db9018485152cb8fcf2 /devtools | |
parent | 61fe610c730ec3488e98b26d5a01e66526d33e85 (diff) | |
download | scummvm-rg350-a0e56d9cad9148ae2c6fb5d616bc15c47de79e77.tar.gz scummvm-rg350-a0e56d9cad9148ae2c6fb5d616bc15c47de79e77.tar.bz2 scummvm-rg350-a0e56d9cad9148ae2c6fb5d616bc15c47de79e77.zip |
DREAMWEB: minor cleanup
Diffstat (limited to 'devtools')
-rw-r--r-- | devtools/tasmrecover/tasm/cpp.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/devtools/tasmrecover/tasm/cpp.py b/devtools/tasmrecover/tasm/cpp.py index f9afe48fd8..fa2dd672fb 100644 --- a/devtools/tasmrecover/tasm/cpp.py +++ b/devtools/tasmrecover/tasm/cpp.py @@ -505,7 +505,7 @@ namespace %s { n += 1 if (n & 0xf) == 0: data_impl += "\n\t\t" - data_impl += "};\n\tcontext.ds.assign(src, src + sizeof(src))" + data_impl += "};\n\tcontext.ds.assign(src, src + sizeof(src));\n" hid = "TASMRECOVER_%s_STUBS_H__" %self.namespace.upper() self.hd.write("""#ifndef %s #define %s @@ -524,7 +524,7 @@ namespace %s { self.hd.write("\n}\n\n#endif\n") self.hd.close() - self.fd.write("\nvoid __start(Context &context) { %s; %s(context); }\n" %(data_impl, start)) + self.fd.write("\nvoid __start(Context &context) { %s%s(context); \n}\n" %(data_impl, start)) self.fd.write("\nvoid __dispatch_call(Context &context, unsigned addr) {\n\tswitch(addr) {\n") self.proc_addr.sort(cmp = lambda x, y: x[1] - y[1]) |