mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-27 16:43:40 +01:00
Fix some few DSP. RSD [Hulk (GC)]
0x1c likely seems to be the proper coef offset.
This commit is contained in:
parent
bd92018b35
commit
8f63eba693
@ -104,7 +104,7 @@ VGMSTREAM* init_vgmstream_rsd(STREAMFILE* sf) {
|
|||||||
vgmstream->coding_type = coding_NGC_DSP;
|
vgmstream->coding_type = coding_NGC_DSP;
|
||||||
vgmstream->layout_type = layout_interleave;
|
vgmstream->layout_type = layout_interleave;
|
||||||
vgmstream->interleave_block_size = 0x08; /* assumed, known files are mono */
|
vgmstream->interleave_block_size = 0x08; /* assumed, known files are mono */
|
||||||
dsp_read_coefs_le(vgmstream,sf,0x14,0x2e); /* LE! */
|
dsp_read_coefs_le(vgmstream,sf,0x1c,0x2e); /* LE! */
|
||||||
dsp_read_hist_le (vgmstream,sf,0x38,0x2e);
|
dsp_read_hist_le (vgmstream,sf,0x38,0x2e);
|
||||||
|
|
||||||
vgmstream->num_samples = dsp_bytes_to_samples(data_size, channels);
|
vgmstream->num_samples = dsp_bytes_to_samples(data_size, channels);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user