msm58231.cpp: initialized one variable which was causing problems for some driver in fmtwons.cpp in devnoclear builds (nw)

This commit is contained in:
Ivan Vangelista 2020-06-01 08:54:49 +02:00
parent 32a28ac4d3
commit c2f3e14ceb

View File

@ -189,7 +189,8 @@ msm58321_device::msm58321_device(const machine_config &mconfig, const char *tag,
m_test(0),
m_cs1(0),
m_address(0xf),
m_reg{}
m_reg{},
m_khz_ctr(0)
{
}
@ -238,6 +239,7 @@ void msm58321_device::device_start()
save_item(NAME(m_cs1));
save_item(NAME(m_address));
save_item(NAME(m_reg));
save_item(NAME(m_khz_ctr));
}