mirror of
https://github.com/zeldaret/oot.git
synced 2025-02-11 16:09:09 +00:00
c028db03b4
* git subrepo clone git@github.com:Thar0/com-plugin.git tools/com-plugin subrepo: subdir: "tools/com-plugin" merged: "e8543312d" upstream: origin: "git@github.com:Thar0/com-plugin.git" branch: "main" commit: "e8543312d" git-subrepo: version: "0.4.6" origin: "https://github.com/ingydotnet/git-subrepo" commit: "110b9eb" * ique-cn OK * Review suggestions * Most suggestions * git subrepo pull tools/com-plugin subrepo: subdir: "tools/com-plugin" merged: "81595ed1c" upstream: origin: "git@github.com:Thar0/com-plugin.git" branch: "main" commit: "81595ed1c" git-subrepo: version: "0.4.6" origin: "https://github.com/ingydotnet/git-subrepo" commit: "110b9eb" * Fix other versions
13 lines
359 B
Python
13 lines
359 B
Python
#!/usr/bin/env python3
|
|
#
|
|
# Patches kaleido bss size in relocations for matching builds.
|
|
#
|
|
|
|
import sys
|
|
|
|
with open(sys.argv[1], "r+") as reloc_sfile:
|
|
contents = reloc_sfile.read()
|
|
contents = contents.replace(".word _ovl_kaleido_scopeSegmentBssSize\n", ".word 0x10\n")
|
|
reloc_sfile.seek(0)
|
|
reloc_sfile.write(contents)
|
|
reloc_sfile.truncate()
|