Neo Geo/AY: implement 20xx command

This commit is contained in:
tildearrow 2022-01-17 21:14:35 -05:00
parent df3ae12278
commit 7165d39105
3 changed files with 7 additions and 1 deletions

View file

@ -449,6 +449,9 @@ int DivPlatformYM2610::dispatch(DivCommand c) {
break;
}
case DIV_CMD_STD_NOISE_MODE:
chan[c.chan].psgMode=(c.value+1)&7;
break;
case DIV_CMD_STD_NOISE_FREQ:
if (c.chan<4 || c.chan>6) break;
rWrite(0x06,31-c.value);