EA SCHl: schl_video extensions

This commit is contained in:
EdnessP 2024-06-29 15:05:30 +03:00
parent 4a58c2d071
commit e5eacbdbd3
2 changed files with 4 additions and 2 deletions

View File

@ -102,6 +102,8 @@ VGMSTREAM* init_vgmstream_aifc(STREAMFILE* sf) {
* .adp: Sonic Jam (SAT)
* .ai: Dragon Force (SAT)
* .pcm: Road Rash (SAT)
* .vp6: The Godfather (PS3/X360) (logo.vp6)
* .mpc: The Godfather (PC) (writercredit.mpc)
*/
if (check_extensions(sf, "aif,laif,wav,lwav,aiff,laiff,")) {
is_aifc_ext = 1;
@ -110,7 +112,7 @@ VGMSTREAM* init_vgmstream_aifc(STREAMFILE* sf) {
else if (check_extensions(sf, "aifc,laifc,afc,cbd2,bgm,fda,n64,xa,caf")) {
is_aifc_ext = 1;
}
else if (check_extensions(sf, "acm,adp,ai,pcm")) {
else if (check_extensions(sf, "acm,adp,ai,pcm,vp6,mpc,lmpc")) {
is_aiff_ext = 1;
}
else {

View File

@ -215,7 +215,7 @@ VGMSTREAM* init_vgmstream_ea_schl_video(STREAMFILE* sf) {
/* .vp6: late */
/* .mpc: SSX Tricky (PS2) */
if (is_id32be(0x00, sf, "SCHl")) {
if (!check_extensions(sf, "uv,dct"))
if (!check_extensions(sf, "uv,dct,mpc,lmpc,vp6"))
return NULL;
}
else if (is_id32be(0x00, sf, "MADk")) {