mirror of
https://github.com/holub/mame
synced 2025-07-03 00:56:03 +03:00
improved regs initialization in src/mame/video/k054156_k054157_k056832.c (nw)
This commit is contained in:
parent
5d6aac7016
commit
05929e9eaa
@ -361,13 +361,13 @@ void k056832_device::finalize_init(running_machine &machine)
|
|||||||
|
|
||||||
void k056832_device::device_start()
|
void k056832_device::device_start()
|
||||||
{
|
{
|
||||||
|
memset(m_regs, 0x00, sizeof(m_regs) );
|
||||||
|
memset(m_regsb, 0x00, sizeof(m_regsb) );
|
||||||
|
|
||||||
// for non-interface cases we still use the vh_start call
|
// for non-interface cases we still use the vh_start call
|
||||||
if (m_bpp == -1)
|
if (m_bpp == -1)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
memset(m_regs, 0x00, sizeof(m_regs) );
|
|
||||||
memset(m_regsb, 0x00, sizeof(m_regsb) );
|
|
||||||
|
|
||||||
m_k055555 = machine().device<k055555_device>(m_k055555_tag);
|
m_k055555 = machine().device<k055555_device>(m_k055555_tag);
|
||||||
|
|
||||||
/* TODO: understand which elements MUST be init here (to keep correct layer
|
/* TODO: understand which elements MUST be init here (to keep correct layer
|
||||||
|
Loading…
Reference in New Issue
Block a user