コード例 #1
0
ファイル: 2612intf.c プロジェクト: Kinglions/modizer
//static DEVICE_STOP( ym2612 )
void device_stop_ym2612(UINT8 ChipID)
{
	//ym2612_state *info = get_safe_token(device);
	ym2612_state *info = &YM2612Data[ChipID];
	switch(EMU_CORE)
	{
	case EC_MAME:
		ym2612_shutdown(info->chip);
		break;
#ifdef ENABLE_ALL_CORES
	case EC_GENS:
		YM2612_End(info->chip);
		if (GensBuf[0x00] != NULL)
		{
			free(GensBuf[0x00]);
			GensBuf[0x00] = NULL;
			GensBuf[0x01] = NULL;
		}
		break;
#endif
	}
}
コード例 #2
0
ファイル: 2612intf.c プロジェクト: Ilgrim/MAMEHub
void ym2612_device::device_stop()
{
	ym2612_shutdown(m_chip);
}
コード例 #3
0
static DEVICE_STOP( ym2612 )
{
	ym2612_state *info = get_safe_token(device);
	ym2612_shutdown(info->chip);
}