summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2013-06-28 21:16:31 -0400
committeryenatch <yenatch@gmail.com>2013-06-28 21:17:35 -0400
commit42cdc63dff19a6bfaf8fd4e7b875c8b46680cd62 (patch)
tree19246e63603883d11df91fd66a806affad097cd2
parent8ae5e00188a832a7b95b3c8a202aa51b709aaafc (diff)
crystal: PointerLabelToScriptPointer bank is not reversed
original-commit-id: 622d6b86f71f29f6a03df7cef7e825ee84260ea9
-rw-r--r--crystal.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/crystal.py b/crystal.py
index 680a441..3f45e27 100644
--- a/crystal.py
+++ b/crystal.py
@@ -1476,7 +1476,7 @@ class PointerLabelToScriptPointer(PointerLabelParam):
def parse(self):
PointerLabelParam.parse(self)
address = calculate_pointer_from_bytes_at(self.parsed_address, bank=self.bank)
- address2 = calculate_pointer_from_bytes_at(address, bank="reverse") # maybe not "reverse"?
+ address2 = calculate_pointer_from_bytes_at(address, bank=True)
self.script = parse_script_engine_script_at(address2, origin=False, map_group=self.map_group, map_id=self.map_id, force=self.force, debug=self.debug)