diff options
| author | megazig <megazig@megazig-desktop.(none)> | 2009-05-06 18:33:25 -0500 |
|---|---|---|
| committer | megazig <megazig@megazig-desktop.(none)> | 2009-05-06 18:33:25 -0500 |
| commit | f85210fe750a911d22ae04bf33e06f8a833dff9d (patch) | |
| tree | 5405b8fe2e68435525c7b811baa150bf9d39452e /brlyt.c | |
| parent | f31713038a253ede4c3e5c9b55d6a4ad8d9e6578 (diff) | |
fixed grp1 bug
Diffstat (limited to 'brlyt.c')
| -rw-r--r-- | brlyt.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -223,13 +223,13 @@ void PrintBRLYTEntry_grp1(brlyt_entry entry, u8* brlyt_file, mxml_node_t *tag) BRLYT_fileoffset = entry.data_location; BRLYT_ReadDataFromMemory(&data, brlyt_file, sizeof(brlyt_group_chunk)); mxmlElementSetAttrf(tag, "type", "%c%c%c%c", entry.magic[0], entry.magic[1], entry.magic[2], entry.magic[3]); - subs = mxmlNewElement(tag, "subs"); int offset; offset = 20; int n = 0; for (n;n<short_swap_bytes(data.numsubs);n++) { + subs = mxmlNewElement(tag, "subs"); char subb[16]; BRLYT_ReadDataFromMemory(sub, brlyt_file, sizeof(sub)); sub = mxmlNewElement(subs, "sub"); mxmlNewTextf(sub, 0, "%s", subb); |
