shithub: neindaw

Download patch

ref: 81aebc21df6ba0bcf0e5e6bcbb615199e97e9ac9
parent: d397b794326c17d9404d2d420461659014852d89
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Fri Feb 28 04:54:09 EST 2020

ay38910: fix wrong number of channels

--- a/ay38910/ay38910.c
+++ b/ay38910/ay38910.c
@@ -191,7 +191,7 @@
 	ui->openVerticalBox(ui->f, "AY-3-8910");
 
 	ui->openVerticalBox(ui->f, "Tone");
-	for (i = 0; i < 1; i++) {
+	for (i = 0; i < nelem(dsp->chan); i++) {
 		sprint(s, "%c", 'A'+i);
 		ui->openVerticalBox(ui->f, s);