Skip to content

Commit

Permalink
Oh no, forgot this!
Browse files Browse the repository at this point in the history
  • Loading branch information
8bitbubsy committed Oct 10, 2021
1 parent 1be67af commit 9768eae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/pt2_audio.c
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,10 @@ void paulaStartDMA(int32_t ch)
// set current sample point
v->dSample = v->AUD_DAT[0] * v->AUD_VOL;

// progress AUD_DAT buffer
v->AUD_DAT[0] = v->AUD_DAT[1];
v->sampleCounter--;

// set BLEP stuff
v->dLastPhase = 0.0;
v->dLastDelta = v->dDelta;
Expand Down

0 comments on commit 9768eae

Please sign in to comment.