diff --git a/src/meta/dc_dvi.c b/src/meta/dc_dvi.c index 50e490a9..442c8a04 100644 --- a/src/meta/dc_dvi.c +++ b/src/meta/dc_dvi.c @@ -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); }