mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-21 00:38:45 +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");
|
||||
if (!temp_sf) goto fail;
|
||||
|
||||
vgmstream = init_vgmstream_fsb5(temp_sf);
|
||||
close_streamfile(temp_sf);
|
||||
if (read_u32be(0x00, temp_sf) == 0x46534235) {
|
||||
vgmstream = init_vgmstream_fsb5(temp_sf);
|
||||
close_streamfile(temp_sf);
|
||||
}
|
||||
else { //other flag?
|
||||
vgmstream = init_vgmstream_fsb_encrypted(temp_sf);
|
||||
close_streamfile(temp_sf);
|
||||
}
|
||||
|
||||
return vgmstream;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user