mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-12 09:40:51 +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;
|
||||
entries_off = 0x3C;
|
||||
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 */
|
||||
num_entries_off = 0x40;
|
||||
base_offset_off = 0x54;
|
||||
entries_off = 0x68;
|
||||
sound_table_offset_off = 0x0C;
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
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 */
|
||||
is_dupe = 0;
|
||||
for (k = 0; k < total_sound_tables; k++)
|
||||
{
|
||||
if (table_offset==sound_table_offsets[k])
|
||||
{
|
||||
for (k = 0; k < total_sound_tables; k++) {
|
||||
if (table_offset == sound_table_offsets[k]) {
|
||||
is_dupe = 1;
|
||||
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);
|
||||
if (!vgmstream)
|
||||
goto fail;
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
/* streamed asset */
|
||||
astFile = open_streamfile_by_ext(streamFile, "ast");
|
||||
if (!astFile)
|
||||
|
Loading…
Reference in New Issue
Block a user