summaryrefslogtreecommitdiff
path: root/redtools/extract_maps.py
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2013-09-11 10:56:31 -0500
committerBryan Bishop <kanzure@gmail.com>2013-09-11 10:56:31 -0500
commit435180a2cd2b12f515b44b21ce18e68f8863e2d0 (patch)
tree94f1af367ab382ea2628d1880574f7bd0f31f670 /redtools/extract_maps.py
parente74f9833a13efb4bc476684beed0c2cb6b2bc077 (diff)
fix rom path in another redtool
Diffstat (limited to 'redtools/extract_maps.py')
-rw-r--r--redtools/extract_maps.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/redtools/extract_maps.py b/redtools/extract_maps.py
index bc0a193..1b22fd3 100644
--- a/redtools/extract_maps.py
+++ b/redtools/extract_maps.py
@@ -6,8 +6,8 @@ import json
#parse hex values as base 16 (see calculate_pointer)
base = 16
-#where to load the rom from
-rom_filename = "../baserom.gbc"
+# TODO: load the rom based on config.rom_path
+rom_filename = os.path.join(os.getcwd(), "baserom.gbc")
rom = None #load the rom later
#map header pointers start at 0x1AE