mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-12 09:40:51 +01:00
Fix some Ubi SB XMA
This commit is contained in:
parent
75143d5f6b
commit
6505854983
@ -432,10 +432,7 @@ static VGMSTREAM * init_vgmstream_ubi_sb_main(ubi_sb_header *sb, STREAMFILE *str
|
||||
num_frames = sec2_num;
|
||||
bits_per_frame = 4;
|
||||
|
||||
if (flag == 0x04) {
|
||||
sec1_num--;
|
||||
sec2_num += 4;
|
||||
} else if (flag == 0x02) {
|
||||
if (flag == 0x02 || flag == 0x04) {
|
||||
bits_per_frame = 2;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user