mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-31 04:13:47 +01:00
Fix broken HCA looping
This commit is contained in:
parent
822f4595b8
commit
1efba60b5e
@ -129,6 +129,10 @@ void seek_codec(VGMSTREAM* vgmstream) {
|
||||
seek_relic(vgmstream->codec_data, vgmstream->loop_current_sample);
|
||||
}
|
||||
|
||||
if (vgmstream->coding_type == coding_CRI_HCA) {
|
||||
loop_hca(vgmstream->codec_data, vgmstream->loop_current_sample);
|
||||
}
|
||||
|
||||
if (vgmstream->coding_type == coding_TAC) {
|
||||
seek_tac(vgmstream->codec_data, vgmstream->loop_current_sample);
|
||||
}
|
||||
@ -231,6 +235,10 @@ void reset_codec(VGMSTREAM* vgmstream) {
|
||||
reset_relic(vgmstream->codec_data);
|
||||
}
|
||||
|
||||
if (vgmstream->coding_type == coding_CRI_HCA) {
|
||||
reset_hca(vgmstream->codec_data);
|
||||
}
|
||||
|
||||
if (vgmstream->coding_type == coding_TAC) {
|
||||
reset_tac(vgmstream->codec_data);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user