Example #1
0
	MCFG_CARTSLOT_MANDATORY
MACHINE_CONFIG_END


DEVICE_GET_INFO(aes_multicart)
{
	switch (state)
	{
		/* --- the following bits of info are returned as pointers to data --- */
		case DEVINFO_PTR_MACHINE_CONFIG:
			info->machine_config = MACHINE_CONFIG_NAME(aes_multicart); break;

		/* --- the following bits of info are returned as NULL-terminated strings --- */
		case DEVINFO_STR_NAME:
			strcpy(info->s, "AES Cartridge handler");
			break;

		case DEVINFO_INT_TOKEN_BYTES: /* private storage, automatically allocated */
			info->i = sizeof(aes_multicart_t);
			break;

		case DEVINFO_STR_FAMILY:
			strcpy(info->s, "Cartridge slot");
			break;
		case DEVINFO_STR_VERSION:
			strcpy(info->s, "1.0");
			break;
		case DEVINFO_STR_SOURCE_FILE:
			strcpy(info->s, __FILE__);
			break;
		/* --- the following bits of info are returned as pointers to functions --- */
		case DEVINFO_FCT_START:
			info->start = DEVICE_START_NAME(aes_multicart);
			break;
		case DEVINFO_FCT_STOP:
			info->stop = DEVICE_STOP_NAME(aes_multicart);
			break;
		case DEVINFO_FCT_RESET:
			/* Nothing */
			break;
	}
}
Example #2
0
void ymf262_device::device_stop()
{
    DEVICE_STOP_NAME( ymf262 )(this);
}
Example #3
0
void tms9927_device::device_stop()
{
	DEVICE_STOP_NAME( tms9927 )(this);
}
Example #4
0
void ym2413_device::device_stop()
{
	DEVICE_STOP_NAME( ym2413 )(this);
}
Example #5
0
void ym2608_device::device_stop()
{
	DEVICE_STOP_NAME( ym2608 )(this);
}
Example #6
0
void y8950_device::device_stop()
{
	DEVICE_STOP_NAME( y8950 )(this);
}