mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-15 02:57:38 +01:00
Initialise sample history and step index to 0
This commit is contained in:
parent
221c50b85c
commit
a9100be92f
@ -18,6 +18,9 @@ VGMSTREAM * init_vgmstream_tgc(STREAMFILE *streamFile) {
|
||||
vgmstream->meta_type = meta_TGC;
|
||||
vgmstream->layout_type = layout_none;
|
||||
vgmstream->coding_type = coding_TGC;
|
||||
|
||||
vgmstream->ch[0].adpcm_history1_32 = 0;
|
||||
vgmstream->ch[0].adpcm_step_index = 0;
|
||||
|
||||
if (!vgmstream_open_stream(vgmstream, streamFile, 3))
|
||||
goto fail;
|
||||
|
Loading…
Reference in New Issue
Block a user