Add SDL extension for ADS audio

This commit is contained in:
jonko0493 2024-09-07 13:41:27 -07:00
parent 8205c522c5
commit d7730ecdd6
2 changed files with 2 additions and 1 deletions

View File

@ -498,6 +498,7 @@ static const char* extension_list[] = {
"scd", "scd",
"sch", "sch",
"sd9", "sd9",
"sdl",
"sdp", //txth/reserved [Metal Gear Arcade (AC)] "sdp", //txth/reserved [Metal Gear Arcade (AC)]
"sdf", "sdf",
"sdt", "sdt",

View File

@ -23,7 +23,7 @@ VGMSTREAM* init_vgmstream_ads(STREAMFILE* sf) {
* .adx: Armored Core 3 (PS2) * .adx: Armored Core 3 (PS2)
* (extensionless): MotoGP (PS2) * (extensionless): MotoGP (PS2)
* .800: Mobile Suit Gundam: The One Year War (PS2) */ * .800: Mobile Suit Gundam: The One Year War (PS2) */
if (!check_extensions(sf, "ads,ss2,pcm,adx,,800")) if (!check_extensions(sf, "ads,ss2,pcm,adx,,800,sdl"))
goto fail; goto fail;
if (read_u32le(0x04,sf) != 0x18 && /* standard header size */ if (read_u32le(0x04,sf) != 0x18 && /* standard header size */