forked from Ports/perfect_dark
port: 64-bit: fix extra fields in modelrodata_type11
This commit is contained in:
1 parent
163dbf9495
commit
421ac0af79
2 files changed
+4
-2
No files matched your search
@@ -565,8 +565,9 @@ static u32 convertContent(u8 *dst, u8 *src, u32 src_file_len)
|
||||
dst_type11->unk08 = PD_BE32(src_type11->unk08);
|
||||
dst_type11->unk0c = PD_BE32(src_type11->unk0c);
|
||||
dst_type11->unk10 = PD_BE32(src_type11->unk10);
|
||||
dst_type11->unk14 = (void *)(uintptr_t)PD_BE32(src_type11->extra1);
|
||||
dst_type11->unk18 = PD_BE32(src_type11->extra2);
|
||||
dst_type11->unk14 = NULL;
|
||||
dst_type11->unk18 = PD_BE32(src_type11->extra1);
|
||||
dst_type11->unk1c = PD_BE32(src_type11->extra2);
|
||||
dstpos += sizeof(*dst_type11);
|
||||
break;
|
||||
case CT_RODATA_TOGGLE:
|
||||
|
||||
@@ -539,6 +539,7 @@ struct modelrodata_type11 { // type 0x11
|
||||
u32 unk10;
|
||||
void *unk14;
|
||||
u32 unk18;
|
||||
u32 unk1c;
|
||||
};
|
||||
|
||||
struct modelrodata_toggle { // type 0x12
|
||||
|
||||
Reference in new issue
Block a user