diff options
author | Bryan Bishop <kanzure@gmail.com> | 2013-09-11 12:25:47 -0700 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2013-09-11 12:25:47 -0700 |
commit | 622534ca73b22b73d9a5c3e865502c9f874ee0bf (patch) | |
tree | a7aaa1d14a04ad5cab70c079f2d00616745e56a2 /redtools/extract_maps.py | |
parent | 50341bae50b4318800dcea5694e95b239ed8fbb0 (diff) | |
parent | ef77506d94991b5909473eb8c8902ee1415d727c (diff) |
Merge pull request #26 from kanzure/fix-pokered-paths
fix pokered paths in redtools
Argh, these need to go away.
Diffstat (limited to 'redtools/extract_maps.py')
-rw-r--r-- | redtools/extract_maps.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/redtools/extract_maps.py b/redtools/extract_maps.py index bc0a193..d1f6b71 100644 --- a/redtools/extract_maps.py +++ b/redtools/extract_maps.py @@ -2,12 +2,13 @@ #date: 2012-01-02 #url: http://hax.iimarck.us/files/rbheaders.txt import json +import os #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 |