Skip to content

Commit

Permalink
missed extern
Browse files Browse the repository at this point in the history
  • Loading branch information
Lilaa3 committed Sep 27, 2024
1 parent 9eb050d commit df8b312
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion fast64_internal/sm64/sm64_texscroll.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,11 @@ def writeSegmentROMTable(baseDir):
# Add extern definition of segment table
write_or_delete_if_found(
Path(baseDir) / "src/game/memory.h",
[ModifyFoundDescriptor("uintptr_t sSegmentROMTable[32];", r"uintptr_t\h*sSegmentROMTable\[.*?\]\h?;")],
[
ModifyFoundDescriptor(
"extern uintptr_t sSegmentROMTable[32];", r"extern\h*uintptr_t\h*sSegmentROMTable\[.*?\]\h?;"
)
],
path_must_exist=True,
footer=END_IF_FOOTER,
)
Expand Down

0 comments on commit df8b312

Please sign in to comment.