You've already forked Microtransactions64
mirror of
https://github.com/Print-and-Panic/Microtransactions64.git
synced 2026-01-21 10:17:19 -08:00
SS2: Goddard size now successfully passed to linker
This commit is contained in:
12
tools/getGoddardSize.py
Normal file
12
tools/getGoddardSize.py
Normal file
@@ -0,0 +1,12 @@
|
||||
import sys, os
|
||||
|
||||
with open(sys.argv[1]) as f:
|
||||
for line in f:
|
||||
if "GODDARD_SIZE" in line:
|
||||
tokens=line.split()
|
||||
print(tokens)
|
||||
with open("build/us/goddard.txt", "w+") as f:
|
||||
sz = int(tokens[0], 16)
|
||||
sz &= 0xFFFFFFF0
|
||||
f.write("GODDARD_SIZE = 0x%X;" % sz)
|
||||
|
||||
5091
tools/hardcoded_syms.txt
Normal file
5091
tools/hardcoded_syms.txt
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user