diff options
-rw-r--r-- | hash/ibm5170.xml | 2 | ||||
-rw-r--r-- | src/devices/machine/chessmachine.cpp | 4 | ||||
-rw-r--r-- | src/devices/machine/chessmachine.h | 4 | ||||
-rw-r--r-- | src/devices/machine/smartboard.cpp | 7 |
4 files changed, 3 insertions, 14 deletions
diff --git a/hash/ibm5170.xml b/hash/ibm5170.xml index 60fced9d55d..f016676d463 100644 --- a/hash/ibm5170.xml +++ b/hash/ibm5170.xml @@ -5822,8 +5822,8 @@ license:CC0 <!-- SMARTBRD.EXE: SmartBoard test program V1.04, 30-Dec-94 --> <description>SmartBoard Driver (DOS)</description> <year>1995</year> - <info name="usage" value="SmartBoard SB20 or SB30 required." /> <publisher>Tasc</publisher> + <info name="usage" value="SmartBoard SB20 or SB30 required." /> <part name="flop1" interface="floppy_3_5"> <dataarea name="flop" size="737280"> <rom name="smartboard.img" size="737280" crc="bf1ca15d" sha1="d3d5a45d8cc0c08fdf8e249630da89090f79acbe"/> diff --git a/src/devices/machine/chessmachine.cpp b/src/devices/machine/chessmachine.cpp index 08e45ebb581..cd80fce19e5 100644 --- a/src/devices/machine/chessmachine.cpp +++ b/src/devices/machine/chessmachine.cpp @@ -62,10 +62,6 @@ void chessmachine_device::device_start() // resolve callbacks m_data_out.resolve_safe(); - // zerofill - m_bootrom_enabled = false; - m_latch[0] = m_latch[1] = 0; - // register for savestates save_item(NAME(m_bootrom_enabled)); save_item(NAME(m_latch)); diff --git a/src/devices/machine/chessmachine.h b/src/devices/machine/chessmachine.h index db670ff8dc6..b1a11b459f1 100644 --- a/src/devices/machine/chessmachine.h +++ b/src/devices/machine/chessmachine.h @@ -46,11 +46,11 @@ private: devcb_write_line m_data_out; - u8 m_latch[2]; + u8 m_latch[2] = { 0, 0 }; void sync0_callback(void *ptr, s32 param); void sync1_callback(void *ptr, s32 param); - bool m_bootrom_enabled; + bool m_bootrom_enabled = false; void install_bootrom(bool enable); TIMER_DEVICE_CALLBACK_MEMBER(disable_bootrom) { install_bootrom(false); } u32 disable_bootrom_r(); diff --git a/src/devices/machine/smartboard.cpp b/src/devices/machine/smartboard.cpp index 674568c5365..fe1dc0b5d08 100644 --- a/src/devices/machine/smartboard.cpp +++ b/src/devices/machine/smartboard.cpp @@ -58,16 +58,9 @@ enum SB30_BLACK_PAWN8 }; -//************************************************************************** -// DEVICE DEFINITIONS -//************************************************************************** DEFINE_DEVICE_TYPE(TASC_SB30, tasc_sb30_device, "tasc_sb30", "Tasc SmartBoard SB30") -//************************************************************************** -// LIVE DEVICE -//************************************************************************** - //------------------------------------------------- // tasc_sb30_device - constructor //------------------------------------------------- |