Create data subfolder in preperation for new features

Move base2current.json to this new subfolder
This commit is contained in:
Kevin Cathcart 2017-11-23 12:38:28 -05:00
parent d4052ab60a
commit 424fc3e6c6
2 changed files with 1 additions and 1 deletions

2
Rom.py
View File

@ -66,7 +66,7 @@ class LocalRom(object):
self.buffer.extend(bytearray([0x00] * (2097152 - len(self.buffer)))) self.buffer.extend(bytearray([0x00] * (2097152 - len(self.buffer))))
# load randomizer patches # load randomizer patches
patches = json.load(open('base2current.json', 'r')) patches = json.load(open('data/base2current.json', 'r'))
for patch in patches: for patch in patches:
if isinstance(patch, dict): if isinstance(patch, dict):
for baseaddress, values in patch.items(): for baseaddress, values in patch.items():