mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-02-17 19:19:16 +01:00
cleanup
This commit is contained in:
parent
4e79416764
commit
8d33a17919
@ -1393,10 +1393,8 @@ VGMSTREAM* init_vgmstream_dsp_wiiadpcm(STREAMFILE* sf) {
|
||||
|
||||
dspm.header_spacing = dspm.interleave;
|
||||
dspm.start_offset = dspm.header_offset + 0x60;
|
||||
//
|
||||
|
||||
VGM_LOG("%lx, %x\n", dspm.header_offset, dspm.interleave);
|
||||
VGM_LOG("%x, %x\n", dspm.interleave_first_skip, dspm.interleave_first);
|
||||
|
||||
dspm.meta_type = meta_DSP_WIIADPCM;
|
||||
return init_vgmstream_dsp_common(sf, &dspm);
|
||||
fail:
|
||||
|
@ -1205,12 +1205,9 @@ static int parse_keyval(STREAMFILE* sf_, txth_header* txth, const char* key, cha
|
||||
else if (is_string(key,"coef_offset")) {
|
||||
if (!parse_num(txth->sf_head,txth,val, &txth->coef_offset)) goto fail;
|
||||
/* special adjustments */
|
||||
VGM_LOG("coef norm=%x\n",txth->coef_offset );
|
||||
txth->coef_offset += txth->base_offset;
|
||||
VGM_LOG("coef+base=%x\n",txth->coef_offset );
|
||||
if (txth->subsong_spacing && !txth->is_offset_absolute)
|
||||
txth->coef_offset += txth->subsong_spacing * (txth->target_subsong - 1);
|
||||
VGM_LOG("coef+spac=%x\n",txth->coef_offset );
|
||||
}
|
||||
else if (is_string(key,"coef_spacing")) {
|
||||
if (!parse_num(txth->sf_head,txth,val, &txth->coef_spacing)) goto fail;
|
||||
|
Loading…
x
Reference in New Issue
Block a user