//static DEVICE_RESET( ym2612 ) void device_reset_ym2612(UINT8 ChipID) { //ym2612_state *info = get_safe_token(device); ym2612_state *info = &YM2612Data[ChipID]; switch(EMU_CORE) { case EC_MAME: ym2612_reset_chip(info->chip); break; #ifdef ENABLE_ALL_CORES case EC_GENS: YM2612_Reset(info->chip); break; #endif } }
void ym2612_device::device_reset() { ym2612_reset_chip(m_chip); }
static DEVICE_RESET( ym2612 ) { ym2612_state *info = get_safe_token(device); ym2612_reset_chip(info->chip); }