changes in naomi_spsd.c

git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@461 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
manakoAT 2008-11-06 22:03:35 +00:00
parent 2decf60246
commit dd5095b3e5

View File

@ -28,7 +28,7 @@ VGMSTREAM * init_vgmstream_naomi_spsd(STREAMFILE *streamFile) {
/* fill in the vital statistics */
vgmstream->channels = channel_count;
start_offset = 0x40;
vgmstream->sample_rate = read_32bitLE(0x2A,streamFile);
vgmstream->sample_rate = (uint16_t)read_16bitLE(0x2A,streamFile);
vgmstream->coding_type = coding_AICA;
vgmstream->num_samples = read_32bitLE(0x0C,streamFile);