mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-12 09:40:51 +01:00
VAB: Fixed config parsing
This commit is contained in:
parent
708443df6f
commit
72916b9c35
@ -148,7 +148,7 @@ VGMSTREAM* init_vgmstream_vab(STREAMFILE* sf) {
|
||||
if (read_vabcfg_file(sf, program_num, tone_num, ¬e, &fine, &uselimits)) {
|
||||
if (note == -1)
|
||||
note = center;
|
||||
if (shift == -1)
|
||||
if (fine == -1)
|
||||
fine = shift;
|
||||
if (uselimits)
|
||||
note = VAB_CLAMP(note, min_note, max_note);
|
||||
|
Loading…
Reference in New Issue
Block a user