oops, ima init wasn't getting done

git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@626 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
halleyscometsw 2009-04-05 23:23:12 +00:00
parent 21e54c97d5
commit fb09060121

View File

@ -74,7 +74,7 @@ VGMSTREAM * init_vgmstream_nds_swav(STREAMFILE *streamFile) {
vgmstream->loop_start_sample;
}
if (coding_type == coding_NDS_IMA) {
if (coding_type == coding_INT_IMA) {
/* handle IMA frame header */
vgmstream->loop_start_sample -= 32 / bits_per_sample;
vgmstream->loop_end_sample -= 32 / bits_per_sample;