fix loop_flag offset

This commit is contained in:
bxaimc 2019-06-26 18:29:14 -04:00
parent 69ab85d106
commit 62fd5243ae

View File

@ -19,7 +19,7 @@ VGMSTREAM * init_vgmstream_bwav(STREAMFILE *streamFile) {
channel_count = read_16bitLE(0x0E, streamFile);
start_offset = read_32bitLE(0x40, streamFile);
loop_flag = read_32bitLE(0x50, streamFile);
loop_flag = read_32bitLE(0x4C, streamFile);
/* build the VGMSTREAM */
vgmstream = allocate_vgmstream(channel_count, loop_flag);