AY/8930: fix possib silence aftr PCM in forceIns
This commit is contained in:
parent
930e5e9aaa
commit
1c5b50c3c1
|
@ -714,6 +714,8 @@ void DivPlatformAY8910::muteChannel(int ch, bool mute) {
|
|||
|
||||
void DivPlatformAY8910::forceIns() {
|
||||
for (int i=0; i<3; i++) {
|
||||
chan[i].curPSGMode.val&=~8;
|
||||
chan[i].nextPSGMode.val&=~8;
|
||||
chan[i].insChanged=true;
|
||||
chan[i].freqChanged=true;
|
||||
}
|
||||
|
|
|
@ -715,6 +715,8 @@ void DivPlatformAY8930::muteChannel(int ch, bool mute) {
|
|||
void DivPlatformAY8930::forceIns() {
|
||||
for (int i=0; i<3; i++) {
|
||||
chan[i].insChanged=true;
|
||||
chan[i].curPSGMode.val&=~8;
|
||||
chan[i].nextPSGMode.val&=~8;
|
||||
immWrite(regPeriodL[i],chan[i].envelope.period);
|
||||
immWrite(regPeriodH[i],chan[i].envelope.period>>8);
|
||||
immWrite(regMode[i],chan[i].envelope.mode);
|
||||
|
|
Loading…
Reference in a new issue