mirror of https://github.com/pmret/papermario.git
fix pm_effects segment not linking correctly on non-clean configures (#344)
This commit is contained in:
parent
2e66caf500
commit
390e188de5
|
|
@ -47,7 +47,9 @@ glabel {name}
|
|||
def effect_path(self, effect):
|
||||
return options.get_build_path() / "asm" / "effects" / f"{effect}.s"
|
||||
|
||||
def scan(self, rom_bytes):
|
||||
def __init__(self, rom_start, rom_end, type, name, vram_start, extract, given_subalign, given_is_overlay, given_dir, args, yml):
|
||||
super().__init__(rom_start, rom_end, type, name, vram_start, extract, given_subalign, given_is_overlay, given_dir, args, yml)
|
||||
|
||||
with open(options.get_asm_path() / ".." / "effects.yaml") as f:
|
||||
self.effects = yaml.load(f.read(), Loader=yaml.SafeLoader)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue