Fix compilation error when generating demo data

This commit is contained in:
Prince Frizzy 2025-01-13 11:30:47 -05:00
parent bccac8c78c
commit 5d93cca229
No known key found for this signature in database
GPG key ID: 3859C9AA3D65EC54

View file

@ -61,7 +61,7 @@ def main():
for item in demofiles:
structdef.append("u8 " + item["name"] + "[" + str(item["size"]) + "];")
if "ignore" not in item:
rom_assets.append(f"ROM_ASSET_LOAD_DEMO({item["name"]}, gDemoInputs.{item["name"]}, {item["address"]}, {item["size"]}, 0x00000000, {item["size"]});")
rom_assets.append(f"ROM_ASSET_LOAD_DEMO({item['name']}, gDemoInputs.{item['name']}, {item['address']}, {item['size']}, 0x00000000, {item['size']});")
print("#include \"types.h\"")
print("#include <stddef.h>")