Added fake .x360audio extension

This commit is contained in:
NicknineTheEagle 2021-05-05 22:15:02 +03:00
parent 2564aa529f
commit fe454c63bd
2 changed files with 3 additions and 1 deletions

View File

@ -595,6 +595,7 @@ static const char* extension_list[] = {
"wvx",
"x",
"x360audio", //fake extension for Unreal Engine 3 XMA (real extension unknown)
"xa",
"xa2",
"xa30",

View File

@ -12,7 +12,8 @@ VGMSTREAM* init_vgmstream_xma_ue3(STREAMFILE *sf) {
/* checks */
/* .xma: assumed */
if (!check_extensions(sf, "xma,"))
/* .x360audio: fake produced by UE Viewer */
if (!check_extensions(sf, "xma,x360audio,"))
goto fail;
/* UE3 uses class-like chunks called "SoundNodeWave" to store info and (rarely multi) raw audio data. Other