Skip to content

Commit

Permalink
Merge pull request #327 from Reonu/fix_oot_exporting
Browse files Browse the repository at this point in the history
fix oot scene exporting with recent decomp versions / hackeroot
  • Loading branch information
sauraen authored Apr 20, 2024
2 parents 82bd85d + 42400dc commit ce67a47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fast64_internal/oot/scene/exporter/to_c/spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ def editSpecFile(scene: OOTScene, exportInfo: ExportInfo, sceneC: OOTSceneC):
sceneSpecEntries = getSceneSpecEntries(specEntries, sceneName)

if exportInfo.customSubPath is not None:
includeDir = f"build/{exportInfo.customSubPath + sceneName}/{sceneName}"
includeDir = f"$(BUILD)/{exportInfo.customSubPath + sceneName}/{sceneName}"
else:
includeDir = f"build/{getSceneDirFromLevelName(sceneName)}/{sceneName}"
includeDir = f"$(BUILD)/{getSceneDirFromLevelName(sceneName)}/{sceneName}"

if len(sceneSpecEntries) > 0:
firstIndex = specEntries.index(sceneSpecEntries[0])
Expand Down

0 comments on commit ce67a47

Please sign in to comment.