Add .xai XA [Quake II (PS1)]

This commit is contained in:
bnnm 2023-08-26 13:23:40 +02:00
parent b2eb542b1b
commit 54350d4851
2 changed files with 3 additions and 1 deletions

View File

@ -649,6 +649,7 @@ static const char* extension_list[] = {
"xa",
"xa2",
"xa30",
"xai",
"xag", //txth/reserved [Tamsoft's PS2 games]
"xau",
"xav",

View File

@ -39,8 +39,9 @@ VGMSTREAM* init_vgmstream_xa(STREAMFILE* sf) {
* .pxa: Mortal Kombat 4 (PS1)
* .grn: Micro Machines (CDi)
* .an2: Croc (PS1) movies
* .xai: Quake II (PS1)
* (extensionless): bigfiles [Castlevania: Symphony of the Night (PS1)] */
if (!check_extensions(sf,"xa,str,pxa,grn,an2,"))
if (!check_extensions(sf,"xa,str,pxa,grn,an2,,xai"))
goto fail;
/* Proper XA comes in raw (BIN 2352 mode2/form2) CD sectors, that contain XA subheaders.