1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-15 20:35:13 +00:00
This commit is contained in:
Dragorn421 2025-02-12 23:10:27 +01:00
parent b1fc3f2495
commit 9e92c36fae
No known key found for this signature in database
GPG key ID: 381AEBAF3D429335
2 changed files with 2 additions and 1 deletions

View file

@ -1,4 +1,4 @@
CFLAGS := -Wall
CFLAGS := -Wall -O2
bin2c: bin2c.c
$(CC) $(CFLAGS) -o $@ $<

View file

@ -40,6 +40,7 @@ class CutsceneResource(Resource, can_size_be_unknown=True):
def write_extracted(self, memory_context):
with self.extract_to_path.open("w") as f:
# TODO move include at the top of the file
f.write('#include "z64cutscene_commands.h"\n')
if not self.braces_in_source:
f.write("{\n")