void Opl_Apu::reset() { addr = 0; next_time = 0; last_amp = 0; switch (type_) { case type_opll: case type_msxmusic: case type_smsfmunit: case type_vrc7: ym2413_reset_chip( opl ); break; case type_opl: ym3526_reset_chip( opl ); break; case type_msxaudio: y8950_reset_chip( opl ); break; case type_opl2: ym3812_reset_chip( opl ); break; } }
static void sfx_soundexpander_sound_reset(sound_t *psid, CLOCK cpu_clk) { if (sfx_soundexpander_chip == 3812) { ym3812_reset_chip(YM3812_chip); } else { ym3526_reset_chip(YM3526_chip); } }
//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; } }
//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; } }
static DEVICE_RESET( ym3812 ) { ym3812_state *info = get_safe_token(device); ym3812_reset_chip(info->chip); }
void ym3812_device::device_reset() { ym3812_reset_chip(m_chip); }