mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-28 16:30:54 +01:00
Ubi SB: Restored XMA header offset parameter
This commit is contained in:
parent
518e47ca5f
commit
a9624f6f71
@ -780,6 +780,11 @@ static int parse_sb_header(ubi_sb_header * sb, STREAMFILE *streamFile, int targe
|
|||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (sb->codec == RAW_XMA1) {
|
||||||
|
/* this field is only seen in X360 games, points at XMA1 header in extra section */
|
||||||
|
sb->xma_header_offset = read_32bit(sb->header_offset + sb->xma_pointer_offset, streamFile);
|
||||||
|
}
|
||||||
|
|
||||||
/* uncommon but possible */
|
/* uncommon but possible */
|
||||||
//VGM_ASSERT(sb->is_external && sb->section3_num != 0, "UBI SS: mixed external and internal streams\n");
|
//VGM_ASSERT(sb->is_external && sb->section3_num != 0, "UBI SS: mixed external and internal streams\n");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user