mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-21 08:43:40 +01:00
Fix .bank with encrypted FSB5
This commit is contained in:
parent
807e42989e
commit
0b244c50bd
@ -113,8 +113,14 @@ VGMSTREAM* init_vgmstream_fsb5_fev_bank(STREAMFILE* sf) {
|
|||||||
temp_sf = setup_subfile_streamfile(sf, subfile_offset,subfile_size, "fsb");
|
temp_sf = setup_subfile_streamfile(sf, subfile_offset,subfile_size, "fsb");
|
||||||
if (!temp_sf) goto fail;
|
if (!temp_sf) goto fail;
|
||||||
|
|
||||||
|
if (read_u32be(0x00, temp_sf) == 0x46534235) {
|
||||||
vgmstream = init_vgmstream_fsb5(temp_sf);
|
vgmstream = init_vgmstream_fsb5(temp_sf);
|
||||||
close_streamfile(temp_sf);
|
close_streamfile(temp_sf);
|
||||||
|
}
|
||||||
|
else { //other flag?
|
||||||
|
vgmstream = init_vgmstream_fsb_encrypted(temp_sf);
|
||||||
|
close_streamfile(temp_sf);
|
||||||
|
}
|
||||||
|
|
||||||
return vgmstream;
|
return vgmstream;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user