From 1d8216561f87909823d1ce582f035afd5ddb75d6 Mon Sep 17 00:00:00 2001 From: NicknineTheEagle Date: Thu, 11 Jun 2020 00:29:58 +0300 Subject: [PATCH] Ubi SB: Added sequence configs [Splinter Cell: Double Agent (PC/X360)] --- src/meta/ubi_sb.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/meta/ubi_sb.c b/src/meta/ubi_sb.c index c400507b..484891b0 100644 --- a/src/meta/ubi_sb.c +++ b/src/meta/ubi_sb.c @@ -3760,6 +3760,8 @@ static int config_sb_version(ubi_sb_header* sb, STREAMFILE* sf) { config_sb_audio_fs(sb, 0x2c, 0x34, 0x30); config_sb_audio_he(sb, 0x5c, 0x54, 0x40, 0x48, 0x64, 0x60); + config_sb_sequence(sb, 0x2c, 0x14); + config_sb_layer_he(sb, 0x20, 0x38, 0x3c, 0x44); config_sb_layer_sh(sb, 0x34, 0x00, 0x08, 0x0c, 0x14); return 1; @@ -3772,6 +3774,8 @@ static int config_sb_version(ubi_sb_header* sb, STREAMFILE* sf) { config_sb_audio_fs(sb, 0x2c, 0x34, 0x30); config_sb_audio_he(sb, 0x5c, 0x54, 0x40, 0x48, 0x64, 0x60); + config_sb_sequence(sb, 0x2c, 0x14); + config_sb_layer_he(sb, 0x20, 0x38, 0x3c, 0x44); config_sb_layer_sh(sb, 0x34, 0x00, 0x08, 0x0c, 0x14); return 1; @@ -3785,6 +3789,8 @@ static int config_sb_version(ubi_sb_header* sb, STREAMFILE* sf) { config_sb_audio_he(sb, 0x5c, 0x54, 0x40, 0x48, 0x64, 0x60); sb->cfg.audio_xma_offset = 0x70; + config_sb_sequence(sb, 0x2c, 0x14); + config_sb_layer_he(sb, 0x20, 0x38, 0x3c, 0x44); config_sb_layer_sh(sb, 0x34, 0x00, 0x08, 0x0c, 0x14); return 1;