1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-12 19:04:38 +00:00

implement more skeleton-related types, cleanups, fixups

This commit is contained in:
Dragorn421 2025-02-05 23:17:05 +01:00
parent f70a07f8cf
commit 66db26a999
No known key found for this signature in database
GPG key ID: 381AEBAF3D429335
18 changed files with 459 additions and 128 deletions

View file

@ -303,7 +303,10 @@ class CDataArrayResource(CDataResource):
return super().try_parse_data(memory_context)
def get_c_reference(self, resource_offset: int):
return self.symbol_name
if resource_offset == 0:
return self.symbol_name
else:
raise ValueError
def get_c_expression_length(self, resource_offset: int):
if resource_offset == 0: