mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-02-17 19:19:16 +01:00
ubi_bao changes (2/2)
fix formatting issues
This commit is contained in:
parent
9a4087eff7
commit
6fcc0b4e3e
@ -1359,13 +1359,13 @@ static STREAMFILE* open_atomic_bao(ubi_bao_file file_type, uint32_t file_id, int
|
||||
if (sf_bao) return sf_bao;
|
||||
}
|
||||
}
|
||||
|
||||
/* If all else fails, try %08x.bao/%08x.sbao nomenclature. */
|
||||
|
||||
/* If all else fails, try %08x.bao/%08x.sbao nomenclature. */
|
||||
snprintf(buf,buf_size, "%08x.bao", file_id);
|
||||
sf_bao = open_streamfile_by_filename(sf, buf);
|
||||
if (sf_bao) return sf_bao;
|
||||
|
||||
snprintf(buf,buf_size, "%08x.sbao", file_id);
|
||||
snprintf(buf,buf_size, "%08x.sbao", file_id);
|
||||
sf_bao = open_streamfile_by_filename(sf, buf);
|
||||
if (sf_bao) return sf_bao;
|
||||
}
|
||||
@ -1377,8 +1377,8 @@ static STREAMFILE* open_atomic_bao(ubi_bao_file file_type, uint32_t file_id, int
|
||||
strcat(buf,".bao");
|
||||
sf_bao = open_streamfile_by_filename(sf, buf);
|
||||
if (sf_bao) return sf_bao;
|
||||
|
||||
/* Ditto. */
|
||||
|
||||
/* Ditto. */
|
||||
snprintf(buf,buf_size, "%08x.bao", file_id);
|
||||
sf_bao = open_streamfile_by_filename(sf, buf);
|
||||
if (sf_bao) return sf_bao;
|
||||
|
Loading…
x
Reference in New Issue
Block a user