Skip to content

Commit

Permalink
iterator fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vampirefrog committed Jun 17, 2024
1 parent 185b9cb commit 03302e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bnk_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ static int save(struct fm_voice_bank *bank, struct fm_voice_bank_position *pos,
bnk.names[i].flags = 0;
bnk.instruments[i].percussive = 0; // TODO: add a percussive flag to opl_voice?
bnk.instruments[i].voice_num = 0; // TODO: what is this?
for(int o = 0; i < 2; o++) {
for(int o = 0; o < 2; o++) {
bnk.instruments[i].operators[o].ksl = opl_voice_operator_get_ksl(bank->opl_voices + j, o);
bnk.instruments[i].operators[o].mul = opl_voice_operator_get_mul(bank->opl_voices + j, o);
bnk.instruments[i].operators[o].fb = opl_voice_get_fb(bank->opl_voices + j);
Expand Down

0 comments on commit 03302e3

Please sign in to comment.