diff --git a/AppleWin/source/Speaker.cpp b/AppleWin/source/Speaker.cpp index a71d15cc..7e340390 100644 --- a/AppleWin/source/Speaker.cpp +++ b/AppleWin/source/Speaker.cpp @@ -354,7 +354,7 @@ BOOL SpkrSetEmulationType (HWND window, DWORD newtype) //============================================================================= -static void InitRemainderBuffer(UINT nCyclesRemaining) +static void ReinitRemainderBuffer(UINT nCyclesRemaining) { if(nCyclesRemaining == 0) return; @@ -380,7 +380,7 @@ static void UpdateRemainderBuffer(ULONG* pnCycleDiff) { g_nRemainderBufferIdx = 0; signed long nSampleMean = 0; - for(UINT i=0,nCnt=0; i