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/a7800/xboard.cpp | |
parent | 61d05aacb8e680d998ffccd9306b859555db5d26 (diff) |
fix uninitialized class members for bus devices (nw)
Diffstat (limited to 'src/devices/bus/a7800/xboard.cpp')
-rw-r--r-- | src/devices/bus/a7800/xboard.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/devices/bus/a7800/xboard.cpp b/src/devices/bus/a7800/xboard.cpp index 3c5eb3d0f24..4f4cecc9c8e 100644 --- a/src/devices/bus/a7800/xboard.cpp +++ b/src/devices/bus/a7800/xboard.cpp @@ -59,23 +59,23 @@ const device_type A78_XM = &device_creator<a78_xm_device>; a78_xboard_device::a78_xboard_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) : a78_rom_device(mconfig, type, name, tag, owner, clock, shortname, source), m_xbslot(*this, "xb_slot"), - m_pokey(*this, "xb_pokey") -{ + m_pokey(*this, "xb_pokey"), m_reg(0), m_ram_bank(0) + { } a78_xboard_device::a78_xboard_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : a78_rom_device(mconfig, A78_XBOARD, "Atari 7800 XBoarD expansion", tag, owner, clock, "a78_xboard", __FILE__), m_xbslot(*this, "xb_slot"), - m_pokey(*this, "xb_pokey") -{ + m_pokey(*this, "xb_pokey"), m_reg(0), m_ram_bank(0) + { } a78_xm_device::a78_xm_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : a78_xboard_device(mconfig, A78_XM, "Atari 7800 XM expansion module", tag, owner, clock, "a78_xm", __FILE__), - m_ym(*this, "xm_ym2151") -{ + m_ym(*this, "xm_ym2151"), m_ym_enabled(0) + { } |