mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-18 07:44:43 +01:00
Properly loop mono HPS files
This commit is contained in:
parent
3624cb06b3
commit
cd63388631
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user