diff options
author | 2015-11-14 18:39:52 +0100 | |
---|---|---|
committer | 2015-11-14 19:05:20 +0100 | |
commit | 47f03ddabce64099a202864d78cef772c117893b (patch) | |
tree | 93bb79a8e97d1374e8eaa5ea5a44abfee22ab888 /src/devices/bus/vcs/dpc.cpp | |
parent | 61d05aacb8e680d998ffccd9306b859555db5d26 (diff) |
fix uninitialized class members for bus devices (nw)
Diffstat (limited to 'src/devices/bus/vcs/dpc.cpp')
-rw-r--r-- | src/devices/bus/vcs/dpc.cpp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/devices/bus/vcs/dpc.cpp b/src/devices/bus/vcs/dpc.cpp index f0787b6bcb4..87a2ee34424 100644 --- a/src/devices/bus/vcs/dpc.cpp +++ b/src/devices/bus/vcs/dpc.cpp @@ -17,9 +17,15 @@ const device_type ATARI_DPC = &device_creator<dpc_device>; -dpc_device::dpc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) - : device_t(mconfig, ATARI_DPC, "Atari DCP", tag, owner, clock, "atari_dcp", __FILE__), - m_displaydata(NULL) +dpc_device::dpc_device(const machine_config& mconfig, const char* tag, device_t* owner, UINT32 clock) : + device_t(mconfig, ATARI_DPC, "Atari DCP", tag, owner, clock, "atari_dcp", __FILE__), + m_movamt(0), + m_latch_62(0), + m_latch_64(0), + m_dlc(0), + m_shift_reg(0), + m_displaydata(nullptr), + m_oscillator(nullptr) { } |