diff options
| author | megazig <megazig@megazig-desktop.(none)> | 2009-05-15 11:08:18 -0500 |
|---|---|---|
| committer | megazig <megazig@megazig-desktop.(none)> | 2009-05-15 11:08:18 -0500 |
| commit | e356dbbea73f17ad627b98b6ff8d7b38f08c104f (patch) | |
| tree | 49be8c5bfab2adcae8808f5ca4dc0c1f8c8aaf9f | |
| parent | 27e8cb7ba5f334b63aee7a1d5b52aaef58906917 (diff) | |
now with more descriptive and accurate names
| -rw-r--r-- | brlan.c | 3 | ||||
| -rw-r--r-- | brlyt.c | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -106,9 +106,12 @@ void BRLAN_CreateXMLTag(tag_header tagHeader, void* data, u32 offset, mxml_node_ if(short_swap_bytes(tagEntryInfo.type) < 16) { char type_rlmc[4] = {'R', 'L', 'M', 'C'}; + char type_rlvc[4] = {'R', 'L', 'V', 'C'}; if(memcmp(tagHeader.magic, type_rlmc, 4) == 0) { entry = mxmlNewElement(tag, "entry"); mxmlElementSetAttrf(entry, "type", "%s", tag_types_rlmc_list[short_swap_bytes(tagEntryInfo.type)]); + } else if (memcmp(tagHeader.magic, type_rlvc, 4) == 0) { + entry = mxmlNewElement(tag, "entry"); mxmlElementSetAttrf(entry, "type", "%s", tag_types_rlvc_list[short_swap_bytes(tagEntryInfo.type)]); } else { entry = mxmlNewElement(tag, "entry"); mxmlElementSetAttrf(entry, "type", "%s", tag_types_list[short_swap_bytes(tagEntryInfo.type)]); } @@ -2302,7 +2302,7 @@ void WriteBRLYTEntry(mxml_node_t *tree, mxml_node_t *node, u8** tagblob, u32* bl } brlyt_pic_chunk chunk2; - subnode = mxmlFindElement(node, node, "tpl", NULL, NULL, MXML_DESCEND); + subnode = mxmlFindElement(node, node, "material", NULL, NULL, MXML_DESCEND); if (subnode != NULL) { char temp[256]; |
