TIA: add 10xx effect for selecting shape

This commit is contained in:
tildearrow 2022-01-18 15:12:36 -05:00
parent 1d5277c27b
commit 0356cf2c7a
2 changed files with 12 additions and 0 deletions

View file

@ -183,6 +183,11 @@ int DivPlatformTIA::dispatch(DivCommand c) {
chan[c.chan].freqChanged=true;
break;
}
case DIV_CMD_WAVE:
chan[c.chan].shape=c.value&15;
rWrite(0x15+c.chan,chan[c.chan].shape);
chan[c.chan].freqChanged=true;
break;
case DIV_ALWAYS_SET_VOLUME:
return 0;
break;