summaryrefslogtreecommitdiff
path: root/extras/crystal.py
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2012-05-02 13:37:11 -0500
committerBryan Bishop <kanzure@gmail.com>2012-05-02 13:37:11 -0500
commit6973ec82ba5f7e6cc978a73c44887c416fbaa498 (patch)
tree0fe973a6508745134026abb335ac7fe5a7e54f92 /extras/crystal.py
parentfaa73c5a4702dead1b40ffa492d1f45acb607b08 (diff)
figuring out where a script appears based on a known address
Diffstat (limited to 'extras/crystal.py')
-rw-r--r--extras/crystal.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/extras/crystal.py b/extras/crystal.py
index e1f83fb8c..e468ab423 100644
--- a/extras/crystal.py
+++ b/extras/crystal.py
@@ -2295,6 +2295,10 @@ class Script:
if not label:
label = self.base_label + hex(self.address)
self.label = Label(name=label, address=address, object=self)
+ if "map_group" in kwargs.keys():
+ self.map_group = kwargs["map_group"]
+ if "map_id" in kwargs.keys():
+ self.map_id = kwargs["map_id"]
#parse the script at the address
if "use_old_parse" in kwargs.keys() and kwargs["use_old_parse"] == True:
self.old_parse(**kwargs)