예제 #1
0
파일: aescart.c 프로젝트: cdenix/psmame
	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;
	}
}
예제 #2
0
void ymf262_device::device_stop()
{
    DEVICE_STOP_NAME( ymf262 )(this);
}
예제 #3
0
파일: tms9927.c 프로젝트: clobber/UME
void tms9927_device::device_stop()
{
	DEVICE_STOP_NAME( tms9927 )(this);
}
예제 #4
0
파일: 2413intf.c 프로젝트: clobber/UME
void ym2413_device::device_stop()
{
	DEVICE_STOP_NAME( ym2413 )(this);
}
예제 #5
0
void ym2608_device::device_stop()
{
	DEVICE_STOP_NAME( ym2608 )(this);
}
예제 #6
0
파일: 8950intf.c 프로젝트: clobber/UME
void y8950_device::device_stop()
{
	DEVICE_STOP_NAME( y8950 )(this);
}