Properly loop mono HPS files

This commit is contained in:
Alex Barney 2017-05-20 18:45:49 -05:00
parent 3624cb06b3
commit cd63388631

View File

@ -60,7 +60,7 @@ VGMSTREAM * init_vgmstream_halpst(STREAMFILE *streamFile) {
loop_offset = offset; loop_offset = offset;
offset = 0x80; offset = 0x80;
while (offset != loop_offset) { while (offset != loop_offset) {
start_nibble += read_32bitBE(offset,streamFile); start_nibble += read_32bitBE(offset+4,streamFile)+1;
offset = read_32bitBE(offset+8,streamFile); offset = read_32bitBE(offset+8,streamFile);
} }