mirror of
https://github.com/holub/mame
synced 2025-10-06 17:08:28 +03:00
fixed usage of uninitialized member in tms9927_device (nw)
This commit is contained in:
parent
7d4caa9488
commit
d38484e730
@ -41,6 +41,7 @@ tms9927_device::tms9927_device(const machine_config &mconfig, const char *tag, d
|
|||||||
m_write_vsyn(*this),
|
m_write_vsyn(*this),
|
||||||
m_reset(0)
|
m_reset(0)
|
||||||
{
|
{
|
||||||
|
memset(m_reg, 0x00, sizeof(m_reg));
|
||||||
}
|
}
|
||||||
|
|
||||||
tms9927_device::tms9927_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
|
tms9927_device::tms9927_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source)
|
||||||
@ -49,6 +50,7 @@ tms9927_device::tms9927_device(const machine_config &mconfig, device_type type,
|
|||||||
m_write_vsyn(*this),
|
m_write_vsyn(*this),
|
||||||
m_reset(0)
|
m_reset(0)
|
||||||
{
|
{
|
||||||
|
memset(m_reg, 0x00, sizeof(m_reg));
|
||||||
}
|
}
|
||||||
|
|
||||||
crt5027_device::crt5027_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
crt5027_device::crt5027_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||||
|
Loading…
Reference in New Issue
Block a user