diff --git a/src/sound/snd_opl_ymfm.cpp b/src/sound/snd_opl_ymfm.cpp index d1f0ed4c4..e21794521 100644 --- a/src/sound/snd_opl_ymfm.cpp +++ b/src/sound/snd_opl_ymfm.cpp @@ -80,8 +80,8 @@ public: : YMFMChipBase(clock, type, samplerate) , m_chip(*this) , m_clock(clock) - , m_samplecnt(0) , m_samplerate(samplerate) + , m_samplecnt(0) { memset(m_samples, 0, sizeof(m_samples)); memset(m_oldsamples, 0, sizeof(m_oldsamples)); diff --git a/src/sound/snd_optimc.c b/src/sound/snd_optimc.c index 3280a47ef..eb48211c6 100644 --- a/src/sound/snd_optimc.c +++ b/src/sound/snd_optimc.c @@ -130,13 +130,6 @@ optimc_add_opl(optimc_t *optimc) io_sethandler(0x0388, 0x0004, optimc->sb->opl.read, NULL, NULL, optimc->sb->opl.write, NULL, NULL, optimc->sb->opl.priv); } -static void -optimc_reload_opl(optimc_t *optimc) -{ - optimc_remove_opl(optimc); - optimc_add_opl(optimc); -} - static void optimc_reg_write(uint16_t addr, uint8_t val, void *p) {