Fixed .str XMA [Sonic & Sega All Stars Racing with Banjo X360]

This commit is contained in:
bnnm 2017-05-18 19:11:21 +02:00
parent 661ed2da20
commit 08a01fec1f
2 changed files with 6 additions and 2 deletions

View File

@ -23,6 +23,10 @@ VGMSTREAM * init_vgmstream_ps2_strlr(STREAMFILE *streamFile) {
goto fail;
#endif
/* don't hijack Sonic & Sega All Stars Racing X360 (xma) */
if (read_32bitBE(0x00,streamFile) == 0x52494646) /* "RIFF"*/
goto fail;
loop_flag = 0;
channel_count = 2;

View File

@ -11,8 +11,8 @@ VGMSTREAM * init_vgmstream_xma(STREAMFILE *streamFile) {
/* check extension, case insensitive */
/* .xma2: Skullgirls, .nps: Beautiful Katamari (renamed .xma) */
if ( !check_extensions(streamFile, "xma,xma2,nps") )
/* .xma2: Skullgirls, .nps: Beautiful Katamari (renamed .xma), .str: Sonic & Sega All Stars Racing */
if ( !check_extensions(streamFile, "xma,xma2,nps,str") )
goto fail;
{