Merge pull request #1594 from jonko0493/harvestmoonadsc

Add SDL extension for ADS audio
This commit is contained in:
bnnm 2024-09-08 19:04:38 +02:00 committed by GitHub
commit 0d84937536
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View File

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

View File

@ -22,8 +22,9 @@ VGMSTREAM* init_vgmstream_ads(STREAMFILE* sf) {
* .pcm: Taisho Mononoke Ibunroku (PS2)
* .adx: Armored Core 3 (PS2)
* (extensionless): MotoGP (PS2)
* .800: Mobile Suit Gundam: The One Year War (PS2) */
if (!check_extensions(sf, "ads,ss2,pcm,adx,,800"))
* .800: Mobile Suit Gundam: The One Year War (PS2)
* .sdl: Innocent Life: A Futuristic Harvest Moon (Special Edition) (PS2) */
if (!check_extensions(sf, "ads,ss2,pcm,adx,,800,sdl"))
goto fail;
if (read_u32le(0x04,sf) != 0x18 && /* standard header size */