mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-24 15:00:11 +01:00
Fix some .bnk [Fat Princess (PS3)]
This commit is contained in:
parent
a752297d77
commit
73410943a1
@ -472,8 +472,9 @@ VGMSTREAM* init_vgmstream_bnk_sony(STREAMFILE* sf) {
|
|||||||
/* hack for PS3 files that use dual subsongs as stereo */
|
/* hack for PS3 files that use dual subsongs as stereo */
|
||||||
if (total_subsongs == 2 && stream_size * 2 == data_size) {
|
if (total_subsongs == 2 && stream_size * 2 == data_size) {
|
||||||
channels = 2;
|
channels = 2;
|
||||||
stream_size = stream_size*channels;
|
stream_size = stream_size * channels;
|
||||||
total_subsongs = 1;
|
total_subsongs = 1;
|
||||||
|
start_offset -= stream_offset; /* also channels may be inverted [Fat Princess (PS3)] */
|
||||||
}
|
}
|
||||||
interleave = stream_size / channels;
|
interleave = stream_size / channels;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user