mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-02-01 12:27:56 +01:00
Fix some Ubi SB [Ghost Recon Advanced Warfighter 2 (X360/PS3)]
This commit is contained in:
parent
3b08eca425
commit
706621575e
@ -3792,6 +3792,19 @@ static int config_sb_version(ubi_sb_header* sb, STREAMFILE* sf) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
/* Tom Clancy's Ghost Recon Advanced Warfighter 2 (2007)(X360)-bank */
|
||||
if (sb->version == 0x0018000b && sb->platform == UBI_X360) {
|
||||
config_sb_entry(sb, 0x68, 0x70);
|
||||
|
||||
config_sb_audio_fs(sb, 0x28, 0x2c, 0x30);
|
||||
config_sb_audio_he(sb, 0x3c, 0x40, 0x48, 0x50, 0x58, 0x5c);
|
||||
sb->cfg.audio_xma_offset = 0x68;
|
||||
|
||||
config_sb_sequence(sb, 0x2c, 0x14);
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
/* TMNT (2007)(PSP)-map 0x00190001 */
|
||||
/* Surf's Up (2007)(PSP)-map 0x00190005 */
|
||||
if ((sb->version == 0x00190001 && sb->platform == UBI_PSP) ||
|
||||
@ -3888,6 +3901,18 @@ static int config_sb_version(ubi_sb_header* sb, STREAMFILE* sf) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
/* Tom Clancy's Ghost Recon Advanced Warfighter 2 (2007)(PS3)-bank */
|
||||
if (sb->version == 0x001A0003 && sb->platform == UBI_PS3) {
|
||||
config_sb_entry(sb, 0x6c, 0x78);
|
||||
|
||||
config_sb_audio_fs(sb, 0x30, 0x34, 0x38);
|
||||
config_sb_audio_he(sb, 0x40, 0x44, 0x4c, 0x54, 0x5c, 0x60);
|
||||
|
||||
config_sb_sequence(sb, 0x2c, 0x14);
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
/* Cranium Kabookii (2007)(Wii)-bank */
|
||||
if (sb->version == 0x001A0003 && sb->platform == UBI_WII) {
|
||||
config_sb_entry(sb, 0x6c, 0x78);
|
||||
|
Loading…
x
Reference in New Issue
Block a user