aboutsummaryrefslogtreecommitdiff
path: root/brlan.c
diff options
context:
space:
mode:
authormegazig <megazig@megazig-desktop.(none)>2009-05-15 11:08:18 -0500
committermegazig <megazig@megazig-desktop.(none)>2009-05-15 11:08:18 -0500
commite356dbbea73f17ad627b98b6ff8d7b38f08c104f (patch)
tree49be8c5bfab2adcae8808f5ca4dc0c1f8c8aaf9f /brlan.c
parent27e8cb7ba5f334b63aee7a1d5b52aaef58906917 (diff)
now with more descriptive and accurate names
Diffstat (limited to '')
-rw-r--r--brlan.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/brlan.c b/brlan.c
index d34a3c3..3a80de2 100644
--- a/brlan.c
+++ b/brlan.c
@@ -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)]);
}