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); } }
void ym3526_device::device_reset() { ym3526_reset_chip(m_chip); }
//static DEVICE_RESET( ym3526 ) void device_reset_ym3526(void *_info) { //ym3526_state *info = get_safe_token(device); ym3526_state *info = (ym3526_state *)_info; ym3526_reset_chip(info->chip); }
static DEVICE_RESET( ym3526 ) { ym3526_state *info = get_safe_token(device); ym3526_reset_chip(info->chip); }