snd_optimc, snd_opl_ymfm: Fix warnings
This commit is contained in:
@@ -80,8 +80,8 @@ public:
|
|||||||
: YMFMChipBase(clock, type, samplerate)
|
: YMFMChipBase(clock, type, samplerate)
|
||||||
, m_chip(*this)
|
, m_chip(*this)
|
||||||
, m_clock(clock)
|
, m_clock(clock)
|
||||||
, m_samplecnt(0)
|
|
||||||
, m_samplerate(samplerate)
|
, m_samplerate(samplerate)
|
||||||
|
, m_samplecnt(0)
|
||||||
{
|
{
|
||||||
memset(m_samples, 0, sizeof(m_samples));
|
memset(m_samples, 0, sizeof(m_samples));
|
||||||
memset(m_oldsamples, 0, sizeof(m_oldsamples));
|
memset(m_oldsamples, 0, sizeof(m_oldsamples));
|
||||||
|
@@ -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);
|
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
|
static void
|
||||||
optimc_reg_write(uint16_t addr, uint8_t val, void *p)
|
optimc_reg_write(uint16_t addr, uint8_t val, void *p)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user