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:
tildearrow 2023-01-07 15:45:43 -05:00 committed by GitHub
commit 784b410fb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -241,7 +241,7 @@ void DivPlatformPOKEY::tick(bool sysTick) {
chan[i].ctlChanged=false;
if ((i==1 && audctl&16) || (i==3 && audctl&8)) {
// 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(3+(i<<1),val);
} else {