Ejemplo n.º 1
0
//static DEVICE_RESET( ym3812 )
void device_reset_ym3812(void *_info)
{
	//ym3812_state *info = get_safe_token(device);
	ym3812_state *info = (ym3812_state *)_info;
	switch(info->EMU_CORE)
	{
#ifdef ENABLE_ALL_CORES
	case EC_MAME:
		ym3812_reset_chip(info->chip);
		break;
#endif
	case EC_DBOPL:
		adlib_OPL2_reset(info->chip);
		break;
	}
}
Ejemplo n.º 2
0
//static DEVICE_RESET( ym3812 )
void device_reset_ym3812(UINT8 ChipID)
{
	//ym3812_state *info = get_safe_token(device);
	ym3812_state *info = &YM3812Data[ChipID];
	switch(EMU_CORE)
	{
#ifdef ENABLE_ALL_CORES
	case EC_MAME:
		ym3812_reset_chip(info->chip);
		break;
#endif
	case EC_DBOPL:
		adlib_OPL2_reset(info->chip);
		break;
	}
}