mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-24 23:10:10 +01:00
sample calculation in dreamcast .idvi fixed
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@421 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
parent
462d614740
commit
e4f9ce0efe
@ -34,7 +34,7 @@ VGMSTREAM * init_vgmstream_dc_idvi(STREAMFILE *streamFile) {
|
||||
vgmstream->num_samples = (get_streamfile_size(streamFile)-start_offset);
|
||||
|
||||
if (loop_flag) {
|
||||
vgmstream->loop_start_sample = (read_32bitLE(0x0C,streamFile)-start_offset);
|
||||
vgmstream->loop_start_sample = read_32bitLE(0x0C,streamFile);
|
||||
vgmstream->loop_end_sample = (get_streamfile_size(streamFile)-start_offset);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user