diff --git a/source/Mockingboard.cpp b/source/Mockingboard.cpp index 58a7f06b..6738d1f8 100644 --- a/source/Mockingboard.cpp +++ b/source/Mockingboard.cpp @@ -75,7 +75,7 @@ MockingboardCard::MockingboardCard(UINT slot, SS_CARDTYPE type) : Card(type, slo m_phasorEnable = (QueryType() == CT_Phasor); m_phasorMode = PH_Mockingboard; - m_phasorClockScaleFactor = 1; // for save-state only + m_phasorClockScaleFactor = 1; m_lastMBUpdateCycle = 0; m_numSamplesError = 0; diff --git a/source/MockingboardCardManager.cpp b/source/MockingboardCardManager.cpp index 9be7d0cc..48935f09 100644 --- a/source/MockingboardCardManager.cpp +++ b/source/MockingboardCardManager.cpp @@ -273,9 +273,6 @@ UINT MockingboardCardManager::GenerateAllSoundData(void) { UINT nNumSamples = 0; - UINT numSamples0 = (UINT)-1; - int numSamplesError0 = -1; - for (UINT slot = SLOT0; slot < NUM_SLOTS; slot++) { if (!IsMockingboard(slot)) @@ -286,17 +283,6 @@ UINT MockingboardCardManager::GenerateAllSoundData(void) MB.SetNumSamplesError(m_numSamplesError); nNumSamples = MB.MB_Update(); m_numSamplesError = MB.GetNumSamplesError(); - -#if 1 // debug - if (numSamples0 == (UINT)-1) - { - numSamples0 = nNumSamples; - numSamplesError0 = m_numSamplesError; - } - - _ASSERT(numSamples0 == nNumSamples); - _ASSERT(numSamplesError0 == m_numSamplesError); -#endif } //