Esempio n. 1
0
void BurnYM2151Reset()
{
#if defined FBA_DEBUG
	if (!DebugSnd_YM2151Initted) bprintf(PRINT_ERROR, _T("BurnYM2151Reset called without init\n"));
#endif

	YM2151ResetChip(0);
}
Esempio n. 2
0
void ym2151Reset(YM2151* ym2151)
{
    ym2151TimerStart(ym2151, 0, ym2151->timerValue1);
    ym2151TimerStart(ym2151, 1, ym2151->timerValue2);
    YM2151ResetChip(ym2151->opl);
    ym2151->off = 0;
    ym2151->s1l = 0;
    ym2151->s2l = 0;
    ym2151->s1r = 0;
    ym2151->s2r = 0;
    ym2151->latch = 0;
}
Esempio n. 3
0
void YM2151_sh_reset(void)
{
	int i;

	for (i = 0;i < intf->num;i++)
	switch(FMMode)
	{
#if (HAS_YM2151)
	case CHIP_YM2151_DAC:
		OPMResetChip(i);
		break;
#endif
#if (HAS_YM2151_ALT)
	case CHIP_YM2151_ALT:
		YM2151ResetChip(i);
		break;
#endif
	}

}
Esempio n. 4
0
static void ym2151_reset(void *token)
{
	struct ym2151_info *info = token;
	YM2151ResetChip(info->chip);
}