Hotfix for imgfx data splitting bug (fixes #1033)

This commit is contained in:
Ethan Roseman 2023-05-02 03:55:03 +09:00
parent 635fa40288
commit b39f8de7cd
No known key found for this signature in database
GPG Key ID: 27F9FCEB8E4969BD

View File

@ -100,7 +100,7 @@ class N64SegPm_imgfx_data(N64Segment):
return [
LinkerEntry(
self,
[self.OUT_DIR / f"{anim.name}.json" for anim in self.anims],
[self.OUT_DIR / f"{name}.json" for name, _ in self.yaml.get("animations")],
options.opts.asset_path / "imgfx" / f"{self.name}.c",
self.get_linker_section(),
)