mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-12 09:40:51 +01:00
EA MPF: Fixed v4 parsing
This commit is contained in:
parent
7a7b1105ba
commit
0d5ced6468
@ -943,10 +943,8 @@ VGMSTREAM* init_vgmstream_ea_mpf_mus(STREAMFILE* sf) {
|
|||||||
}
|
}
|
||||||
section_offset = entry_offset + 0x10 + subentry_num * 0x10;
|
section_offset = entry_offset + 0x10 + subentry_num * 0x10;
|
||||||
|
|
||||||
/* TODO: verify this */
|
|
||||||
section_offset = read_u32(section_offset, sf) * 0x04;
|
|
||||||
section_offset += num_routers * 0x04;
|
section_offset += num_routers * 0x04;
|
||||||
section_offset += num_vars * 0x04;
|
section_offset = read_u32(section_offset, sf) * 0x04;
|
||||||
|
|
||||||
tracks_table = section_offset;
|
tracks_table = section_offset;
|
||||||
samples_table = tracks_table + (num_tracks + 1) * 0x04;
|
samples_table = tracks_table + (num_tracks + 1) * 0x04;
|
||||||
|
Loading…
Reference in New Issue
Block a user