Remove old debug code
This commit is contained in:
parent
9853d906df
commit
c56d341bdb
|
@ -75,7 +75,7 @@ MockingboardCard::MockingboardCard(UINT slot, SS_CARDTYPE type) : Card(type, slo
|
||||||
|
|
||||||
m_phasorEnable = (QueryType() == CT_Phasor);
|
m_phasorEnable = (QueryType() == CT_Phasor);
|
||||||
m_phasorMode = PH_Mockingboard;
|
m_phasorMode = PH_Mockingboard;
|
||||||
m_phasorClockScaleFactor = 1; // for save-state only
|
m_phasorClockScaleFactor = 1;
|
||||||
|
|
||||||
m_lastMBUpdateCycle = 0;
|
m_lastMBUpdateCycle = 0;
|
||||||
m_numSamplesError = 0;
|
m_numSamplesError = 0;
|
||||||
|
|
|
@ -273,9 +273,6 @@ UINT MockingboardCardManager::GenerateAllSoundData(void)
|
||||||
{
|
{
|
||||||
UINT nNumSamples = 0;
|
UINT nNumSamples = 0;
|
||||||
|
|
||||||
UINT numSamples0 = (UINT)-1;
|
|
||||||
int numSamplesError0 = -1;
|
|
||||||
|
|
||||||
for (UINT slot = SLOT0; slot < NUM_SLOTS; slot++)
|
for (UINT slot = SLOT0; slot < NUM_SLOTS; slot++)
|
||||||
{
|
{
|
||||||
if (!IsMockingboard(slot))
|
if (!IsMockingboard(slot))
|
||||||
|
@ -286,17 +283,6 @@ UINT MockingboardCardManager::GenerateAllSoundData(void)
|
||||||
MB.SetNumSamplesError(m_numSamplesError);
|
MB.SetNumSamplesError(m_numSamplesError);
|
||||||
nNumSamples = MB.MB_Update();
|
nNumSamples = MB.MB_Update();
|
||||||
m_numSamplesError = MB.GetNumSamplesError();
|
m_numSamplesError = MB.GetNumSamplesError();
|
||||||
|
|
||||||
#if 1 // debug
|
|
||||||
if (numSamples0 == (UINT)-1)
|
|
||||||
{
|
|
||||||
numSamples0 = nNumSamples;
|
|
||||||
numSamplesError0 = m_numSamplesError;
|
|
||||||
}
|
|
||||||
|
|
||||||
_ASSERT(numSamples0 == nNumSamples);
|
|
||||||
_ASSERT(numSamplesError0 == m_numSamplesError);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue