mirror of
https://github.com/holub/mame
synced 2025-04-24 17:30:55 +03:00
fixed uninitialized members in src/emu/machine/6821pia.c (nw)
This commit is contained in:
parent
423bab6d8f
commit
6723d7ee24
@ -48,7 +48,9 @@ const device_type PIA6821 = &device_creator<pia6821_device>;
|
||||
//-------------------------------------------------
|
||||
|
||||
pia6821_device::pia6821_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||
: device_t(mconfig, PIA6821, "6822 PIA", tag, owner, clock)
|
||||
: device_t(mconfig, PIA6821, "6822 PIA", tag, owner, clock),
|
||||
m_in_cb1(0),
|
||||
m_ctl_b(0)
|
||||
{
|
||||
memset(static_cast<pia6821_interface *>(this), 0, sizeof(pia6821_interface));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user