mirror of https://github.com/zeldaret/botw.git
tools: Do not overwrite function names with nullsub_ and sub_
This commit is contained in:
parent
85000e3c7c
commit
e28ba16cc0
|
|
@ -14,5 +14,5 @@ with open(csv_path, "r") as f:
|
|||
for fn in reader:
|
||||
addr = int(fn[0], 16)
|
||||
name = fn[3]
|
||||
if name and fn[1] != "L":
|
||||
if name and not name.startswith("nullsub_") and not name.startswith("sub_"):
|
||||
idc.set_name(addr, name)
|
||||
|
|
|
|||
Loading…
Reference in New Issue