mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-28 08:20:54 +01:00
Fix compile errors for BFWAV
This commit is contained in:
parent
d2e2b86785
commit
b07a5e7ffe
@ -111,7 +111,7 @@ VGMSTREAM * init_vgmstream_bfwav(STREAMFILE *streamFile) {
|
|||||||
if ((uint32_t)read_16bit(coeffheader, streamFile) != 0x1F00) goto fail;
|
if ((uint32_t)read_16bit(coeffheader, streamFile) != 0x1F00) goto fail;
|
||||||
|
|
||||||
off_t coef_offset = read_32bit(coeffheader + 0xC, streamFile) + coeffheader;
|
off_t coef_offset = read_32bit(coeffheader + 0xC, streamFile) + coeffheader;
|
||||||
vgmstream->ch[j].adpcm_coef[i] = read_16bit(coef_offset + j*coef_spacing + i * 2, streamFile);
|
vgmstream->ch[j].adpcm_coef[i] = read_16bit(coef_offset + i * 2, streamFile);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user