mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Create data subfolder in preperation for new features
Move base2current.json to this new subfolder
This commit is contained in:
2
Rom.py
2
Rom.py
@@ -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():
|
||||||
|
Reference in New Issue
Block a user