1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-24 16:01:26 +00:00

check attributes of xml resources elements

This commit is contained in:
Dragorn421 2025-02-09 21:42:48 +01:00
parent ad6ff6df27
commit e0b8f3087d
No known key found for this signature in database
GPG key ID: 381AEBAF3D429335
4 changed files with 112 additions and 7 deletions

View file

@ -129,7 +129,10 @@ def process_pool(
raise NotImplementedError(
f"alignment for {rescoll.start_address.vram=:#08X}"
)
elif isinstance(rescoll.start_address, SegmentStartAddress):
elif (
isinstance(rescoll.start_address, SegmentStartAddress)
or rescoll.start_address is None
):
alignment = 8
else:
raise NotImplementedError(rescoll.start_address)