1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-04 23:14:37 +00:00

Whitespace (#1112)

* remove trailing whitespaces

* minor docs tweaks

* some more trailing whitespaces

* few more tweaks
This commit is contained in:
playerskel 2022-01-24 00:09:02 +01:00 committed by GitHub
parent f344fe648b
commit f4a72303cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
150 changed files with 493 additions and 494 deletions

View file

@ -23,7 +23,7 @@ def handle_file(asm_root, asm_file, c_file_path):
file_path = os.path.join(asm_root, asm_file)
with open(file_path) as f:
file_lines = f.readlines()
new_files = []
num_rodata = 0
for i, line in enumerate(file_lines):
@ -53,10 +53,10 @@ def handle_file(asm_root, asm_file, c_file_path):
new_file_lines = file_lines[new_file[0]:new_files[i+1][0]]
else:
new_file_lines = file_lines[new_file[0]:]
with open(os.path.join(asm_root, new_file[1]), mode="w", newline="\n") as out_file:
out_file.writelines(new_file_lines)
os.remove(c_file_path)
pragma_begin = "#pragma GLOBAL_ASM(\"" + asm_root.split("../")[1] + "/"