mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-02-17 19:19:16 +01:00
Fix some KTSR/KTSC [FE: Three Houses (Switch)]
This commit is contained in:
parent
17c54df1a2
commit
a3d727e03d
@ -14,8 +14,7 @@ VGMSTREAM* init_vgmstream_ktsc(STREAMFILE* sf) {
|
||||
/* checks */
|
||||
if (!is_id32be(0x00, sf, "KTSC"))
|
||||
goto fail;
|
||||
if (read_u32be(0x04, sf) != 0x01000001) /* version? */
|
||||
goto fail;
|
||||
/* 0x04: version? (0x01000001: common, 0x01000004: FE Three Houses) */
|
||||
|
||||
/* .ktsl2asbin: common [Atelier Ryza (PC)]
|
||||
* .asbin: Warriors Orochi 4 (PC) (assumed) */
|
||||
|
@ -350,11 +350,13 @@ static int parse_codec(ktsr_header* ktsr) {
|
||||
if (ktsr->is_external) {
|
||||
if (ktsr->format == 0x0005)
|
||||
ktsr->codec = KTSS; // [Ultra Kaiju Monster Rancher (Switch)]
|
||||
else if (ktsr->format == 0x1000)
|
||||
ktsr->codec = KTSS; // [Fire Emblem: Three Houses (Switch)-some DSP voices]
|
||||
else
|
||||
goto fail;
|
||||
}
|
||||
else if (ktsr->format == 0x0000)
|
||||
ktsr->codec = DSP; // Fire Emblem: Three Houses (Switch)
|
||||
ktsr->codec = DSP; // [Fire Emblem: Three Houses (Switch)]
|
||||
else
|
||||
goto fail;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user