what the?

panning 00 mutes channel in GB?
This commit is contained in:
tildearrow 2021-05-28 19:59:42 -05:00
parent 1444752704
commit 2bff8ae753

View file

@ -229,6 +229,7 @@ int DivPlatformGB::dispatch(DivCommand c) {
break;
case DIV_CMD_PANNING: {
lastPan&=~(0x11<<c.chan);
if (c.value==0) c.value=0x11;
lastPan|=c.value<<c.chan;
rWrite(0x25,lastPan);
break;