mirror of
https://github.com/Xeeynamo/sotn-decomp.git
synced 2024-11-26 22:40:33 +00:00
Fix dirs?
This commit is contained in:
parent
a239ecc7e0
commit
b64cda2e3f
@ -417,6 +417,9 @@ class sotn_function:
|
||||
|
||||
if __name__ == "__main__":
|
||||
timer = time.perf_counter()
|
||||
args = parser.parse_args()
|
||||
if args.output_dir:
|
||||
output_dir = args.output_dir
|
||||
if not os.path.exists(output_dir):
|
||||
os.makedirs(output_dir)
|
||||
# 1: Create baseline function objects for every .s file
|
||||
@ -464,9 +467,6 @@ if __name__ == "__main__":
|
||||
if not any(x in function.c_filename for x in ["psxsdk", "mad"]):
|
||||
analyze(function)
|
||||
print(f"Calculated call relations in {time.perf_counter() - timer} seconds")
|
||||
args = parser.parse_args()
|
||||
if args.output_dir:
|
||||
output_dir = args.output_dir
|
||||
if not args.ultradry:
|
||||
print(f"Rendering in {'dry' if args.dry else 'full output'} mode")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user