Merge pull request #834 from laoo/pokey_bug
POKEY: audc is set for wrong channel when channels 3 & 4 are paired
This commit is contained in:
commit
784b410fb4
|
@ -241,7 +241,7 @@ void DivPlatformPOKEY::tick(bool sysTick) {
|
||||||
chan[i].ctlChanged=false;
|
chan[i].ctlChanged=false;
|
||||||
if ((i==1 && audctl&16) || (i==3 && audctl&8)) {
|
if ((i==1 && audctl&16) || (i==3 && audctl&8)) {
|
||||||
// ignore - channel is paired
|
// ignore - channel is paired
|
||||||
} else if ((i==0 && audctl&16) || (i==0 && audctl&8)) {
|
} else if ((i==0 && audctl&16) || (i==2 && audctl&8)) {
|
||||||
rWrite(1+(i<<1),0);
|
rWrite(1+(i<<1),0);
|
||||||
rWrite(3+(i<<1),val);
|
rWrite(3+(i<<1),val);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue