add Rayman Raving Rabbids 2 (PC) fake codec id 0x69 support

git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@743 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
bxaimc 2010-02-16 00:07:21 +00:00
parent ce3ab5d154
commit 9da8727657

View File

@ -177,6 +177,13 @@ VGMSTREAM * init_vgmstream_riff(STREAMFILE *streamFile) {
coding_type = coding_MS_IMA;
interleave = 0;
break;
case 0x69: /* MS IMA ADCM - Rayman Raving Rabbids 2 (PC) */
/* ensure 4bps */
if (read_16bitLE(current_chunk+0x16,streamFile)!=4)
goto fail;
coding_type = coding_MS_IMA;
interleave = 0;
break;
case 0x555: /* Level-5 0x555 ADPCM */
if (!mwv) goto fail;
coding_type = coding_L5_555;