AY8930: duty oopsie

fixes #251
This commit is contained in:
tildearrow 2022-03-04 02:26:47 -05:00
parent 1f0fba4c13
commit 1407f14ee8
1 changed files with 1 additions and 1 deletions

View File

@ -372,7 +372,7 @@ int DivPlatformAY8930::dispatch(DivCommand c) {
}
} else {
chan[c.chan].duty=c.value&15;
immWrite(0x16,chan[c.chan].duty);
immWrite(0x16+c.chan,chan[c.chan].duty);
}
break;
case DIV_CMD_STD_NOISE_FREQ: