Пример #1
0
Файл: qs.cpp Проект: SiN13/pifba
void QsndReset()
{
	BurnTimerReset();
	BurnTimerSetRetrig(0, 1.0 / 252.0);

	nQsndCyclesExtra = 0;
}
Пример #2
0
void BurnYM2612Reset()
{
    BurnTimerReset();

    for (int i = 0; i < nNumChips; i++) {
        YM2612ResetChip(i);
    }
}
Пример #3
0
void BurnYMF278BReset()
{
#if defined FBA_DEBUG
	if (!DebugSnd_YMF278BInitted) bprintf(PRINT_ERROR, _T("BurnYMF278BReset called without init\n"));
#endif

	BurnTimerReset();
	ymf278b_reset();
}
Пример #4
0
void QsndReset()
{
	ZetOpen(0);
	BurnTimerReset();
	BurnTimerSetRetrig(0, 1.0 / 252.0);
	ZetClose();

	nQsndCyclesExtra = 0;
}
Пример #5
0
void BurnYM2610Reset()
{
#if defined FBA_DEBUG
	if (!DebugSnd_YM2610Initted) bprintf(PRINT_ERROR, _T("BurnYM2610Reset called without init\n"));
#endif

	BurnTimerReset();

	YM2610ResetChip(0);
}
Пример #6
0
int BurnTimerInit(int (*pOverCallback)(int, int), double (*pTimeCallback)())
{
	BurnTimerExit();

	pTimerOverCallback = pOverCallback;
	pTimerTimeCallback = pTimeCallback ? pTimeCallback : BurnTimerTimeCallbackDummy;

	BurnTimerReset();

	return 0;
}
Пример #7
0
INT32 BurnTimerInit(INT32 (*pOverCallback)(INT32, INT32), double (*pTimeCallback)())
{
	BurnTimerExit();

	pTimerOverCallback = pOverCallback;
	pTimerTimeCallback = pTimeCallback ? pTimeCallback : BurnTimerTimeCallbackDummy;

	BurnTimerReset();

	return 0;
}
Пример #8
0
void BurnYMF278BReset()
{
	BurnTimerReset();
}