mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-17 20:07:08 +01:00
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:
parent
2decf60246
commit
dd5095b3e5
@ -28,7 +28,7 @@ VGMSTREAM * init_vgmstream_naomi_spsd(STREAMFILE *streamFile) {
|
|||||||
/* fill in the vital statistics */
|
/* fill in the vital statistics */
|
||||||
vgmstream->channels = channel_count;
|
vgmstream->channels = channel_count;
|
||||||
start_offset = 0x40;
|
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->coding_type = coding_AICA;
|
||||||
|
|
||||||
vgmstream->num_samples = read_32bitLE(0x0C,streamFile);
|
vgmstream->num_samples = read_32bitLE(0x0C,streamFile);
|
||||||
|
Loading…
Reference in New Issue
Block a user