aboutsummaryrefslogtreecommitdiff
path: root/devtools/tasmrecover/tasm-recover
diff options
context:
space:
mode:
authorD G Turner2011-12-01 19:34:28 +0000
committerD G Turner2011-12-01 19:34:28 +0000
commit4e27576e3adbea67bfa1fb6a4fe6dc0a1b17aceb (patch)
tree426ba6dfcff1d9856202ebf873ae8b8c177ae7c3 /devtools/tasmrecover/tasm-recover
parent24c355e04fe7fb536bbfd72bdb998b4dbf265148 (diff)
downloadscummvm-rg350-4e27576e3adbea67bfa1fb6a4fe6dc0a1b17aceb.tar.gz
scummvm-rg350-4e27576e3adbea67bfa1fb6a4fe6dc0a1b17aceb.tar.bz2
scummvm-rg350-4e27576e3adbea67bfa1fb6a4fe6dc0a1b17aceb.zip
DEVTOOLS: Add function name remapping ability to tasm-recover tool.
This allows a mapping list to be specified for the dreamgen.* output function names, removing the limitation to keep the same names as the original ASM.
Diffstat (limited to 'devtools/tasmrecover/tasm-recover')
-rwxr-xr-xdevtools/tasmrecover/tasm-recover5
1 files changed, 4 insertions, 1 deletions
diff --git a/devtools/tasmrecover/tasm-recover b/devtools/tasmrecover/tasm-recover
index b0cd1e916d..c7f49c01dd 100755
--- a/devtools/tasmrecover/tasm-recover
+++ b/devtools/tasmrecover/tasm-recover
@@ -353,5 +353,8 @@ generator = cpp(context, "DreamGen", blacklist = [
'inventory',
'mainscreen',
'doload',
- ], skip_dispatch_call = True, header_omit_blacklisted = True)
+ ], skip_dispatch_call = True, header_omit_blacklisted = True,
+ function_name_remapping = {
+ # This remaps the function naming at output for readability
+ })
generator.generate('dreamweb') #start routine