mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-02-22 05:10:02 +01:00
Formatting fixes
This commit is contained in:
parent
9c9da8fa1b
commit
6487d310cb
@ -183,15 +183,13 @@ VGMSTREAM * init_vgmstream_ea_abk_eaac(STREAMFILE *streamFile) {
|
|||||||
base_offset_off = 0x2C;
|
base_offset_off = 0x2C;
|
||||||
entries_off = 0x3C;
|
entries_off = 0x3C;
|
||||||
sound_table_offset_off = 0x04;
|
sound_table_offset_off = 0x04;
|
||||||
}
|
} else if (header_table_offset == 0x78) {
|
||||||
else if (header_table_offset == 0x78) {
|
|
||||||
/* FIFA 08 has a bunch of extra zeroes all over the place, don't know what's up with that */
|
/* FIFA 08 has a bunch of extra zeroes all over the place, don't know what's up with that */
|
||||||
num_entries_off = 0x40;
|
num_entries_off = 0x40;
|
||||||
base_offset_off = 0x54;
|
base_offset_off = 0x54;
|
||||||
entries_off = 0x68;
|
entries_off = 0x68;
|
||||||
sound_table_offset_off = 0x0C;
|
sound_table_offset_off = 0x0C;
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -207,10 +205,8 @@ VGMSTREAM * init_vgmstream_ea_abk_eaac(STREAMFILE *streamFile) {
|
|||||||
|
|
||||||
/* For some reason, there are duplicate entries pointing at the same sound tables */
|
/* For some reason, there are duplicate entries pointing at the same sound tables */
|
||||||
is_dupe = 0;
|
is_dupe = 0;
|
||||||
for (k = 0; k < total_sound_tables; k++)
|
for (k = 0; k < total_sound_tables; k++) {
|
||||||
{
|
if (table_offset == sound_table_offsets[k]) {
|
||||||
if (table_offset==sound_table_offsets[k])
|
|
||||||
{
|
|
||||||
is_dupe = 1;
|
is_dupe = 1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -288,8 +284,7 @@ static VGMSTREAM * parse_s10a_header(STREAMFILE *streamFile, off_t offset, uint1
|
|||||||
vgmstream = init_vgmstream_eaaudiocore_header(streamFile, streamFile, snr_offset, sns_offset, meta_EA_SNR_SNS);
|
vgmstream = init_vgmstream_eaaudiocore_header(streamFile, streamFile, snr_offset, sns_offset, meta_EA_SNR_SNS);
|
||||||
if (!vgmstream)
|
if (!vgmstream)
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
/* streamed asset */
|
/* streamed asset */
|
||||||
astFile = open_streamfile_by_ext(streamFile, "ast");
|
astFile = open_streamfile_by_ext(streamFile, "ast");
|
||||||
if (!astFile)
|
if (!astFile)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user