diff --git a/src/formats.c b/src/formats.c index dcb8c360..1eb4585a 100644 --- a/src/formats.c +++ b/src/formats.c @@ -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", diff --git a/src/meta/xma_ue3.c b/src/meta/xma_ue3.c index 19725941..324457cd 100644 --- a/src/meta/xma_ue3.c +++ b/src/meta/xma_ue3.c @@ -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