//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 } }
void ym2612_device::device_stop() { ym2612_shutdown(m_chip); }
static DEVICE_STOP( ym2612 ) { ym2612_state *info = get_safe_token(device); ym2612_shutdown(info->chip); }