From 70825dc45a872d0bea78d9c645a9bbfcdf4e339e Mon Sep 17 00:00:00 2001 From: tildearrow Date: Fri, 23 Sep 2022 23:12:39 -0500 Subject: [PATCH] AY: reduce PCM clicking --- src/engine/platform/ay.cpp | 2 +- src/engine/platform/ay8930.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/platform/ay.cpp b/src/engine/platform/ay.cpp index 9526e591d..5d9823715 100644 --- a/src/engine/platform/ay.cpp +++ b/src/engine/platform/ay.cpp @@ -139,7 +139,7 @@ void DivPlatformAY8910::runDAC() { chan[i].dac.pos=s->loopStart; } else if (chan[i].dac.pos>=(int)s->samples) { chan[i].dac.sample=-1; - immWrite(0x08+i,0); + //immWrite(0x08+i,0); end=true; break; } diff --git a/src/engine/platform/ay8930.cpp b/src/engine/platform/ay8930.cpp index b6c59452f..a1182a809 100644 --- a/src/engine/platform/ay8930.cpp +++ b/src/engine/platform/ay8930.cpp @@ -135,7 +135,7 @@ void DivPlatformAY8930::runDAC() { chan[i].dac.pos=s->loopStart; } else if (chan[i].dac.pos>=(int)s->samples) { chan[i].dac.sample=-1; - immWrite(0x08+i,0); + //immWrite(0x08+i,0); end=true; break; }