mirror of
https://github.com/holub/mame
synced 2025-04-29 03:20:50 +03:00
fixed uninitialised variables, atari st mouse works again [smf]
This commit is contained in:
parent
5fc9d0703a
commit
e477d12877
@ -59,7 +59,10 @@ const device_type ACIA6850 = &device_creator<acia6850_device>;
|
|||||||
//-------------------------------------------------
|
//-------------------------------------------------
|
||||||
|
|
||||||
acia6850_device::acia6850_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
acia6850_device::acia6850_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
|
||||||
: device_t(mconfig, ACIA6850, "6850 ACIA", tag, owner, clock, "acia6850", __FILE__)
|
: device_t(mconfig, ACIA6850, "6850 ACIA", tag, owner, clock, "acia6850", __FILE__),
|
||||||
|
m_rxd(0),
|
||||||
|
m_dcd(0),
|
||||||
|
m_cts(0)
|
||||||
{
|
{
|
||||||
memset(static_cast<acia6850_interface *>(this), 0, sizeof(acia6850_interface));
|
memset(static_cast<acia6850_interface *>(this), 0, sizeof(acia6850_interface));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user