mirror of https://github.com/n64decomp/mk64.git
parent
e05474030f
commit
91dcf56629
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
import re
|
||||
import sys
|
||||
import io
|
||||
|
||||
abbreviations = {
|
||||
"banshee_boardwalk": "BB",
|
||||
|
|
@ -365,6 +366,6 @@ with open(f"courses/{course_name}/course_offsets.c", "r") as offsets:
|
|||
|
||||
# Write to files only after we've generated their entire contents. That way if an
|
||||
# error occurs during the generation we don't write an incomplete file
|
||||
with open(f"courses/{course_name}/course_textures.linkonly.c", "w") as linkonlyc, open(f"courses/{course_name}/course_textures.linkonly.h", "w") as linkonlyh:
|
||||
with io.open(f"courses/{course_name}/course_textures.linkonly.c", "w", newline="\n") as linkonlyc, io.open(f"courses/{course_name}/course_textures.linkonly.h", "w", newline="\n") as linkonlyh:
|
||||
linkonlyh.write(h_string)
|
||||
linkonlyc.write(c_string)
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit f6b786106b9936bdb075130cd98fd860ce6a6315
|
||||
Subproject commit 4d8ac381c08fd30cc6a4f247576c7dbfe09dc708
|
||||
Loading…
Reference in New Issue