Beispiel #1
0
static void device_stop_ym2203(void* param)
{
	DEV_DATA* devData = (DEV_DATA*)param;
	OPN_INF* info = (OPN_INF*)devData->chipInf;
	
	ym2203_shutdown(info->opn);
	free(info);
	
	return;
}
Beispiel #2
0
//static DEVICE_STOP( ym2203 )
void device_stop_ym2203(UINT8 ChipID)
{
	//ym2203_state *info = get_safe_token(device);
	ym2203_state *info = &YM2203Data[ChipID];
	ym2203_shutdown(info->chip);
	if (info->psg != NULL)
	{
		switch(AY_EMU_CORE)
		{
#ifdef ENABLE_ALL_CORES
		case EC_MAME:
			ay8910_stop_ym(info->psg);
			break;
#endif
		case EC_EMU2149:
			PSG_delete((PSG*)info->psg);
			break;
		}
		info->psg = NULL;
	}
}
Beispiel #3
0
static DEVICE_STOP( ym2203 )
{
	ym2203_state *info = get_safe_token(device);
	ym2203_shutdown(info->chip);
	ay8910_stop_ym(info->psg);
}
Beispiel #4
0
void ym2203_device::device_stop()
{
	ym2203_shutdown(m_chip);
}