ibm5170: fix validity error

This commit is contained in:
hap 2021-04-20 21:01:55 +02:00
parent eab35a4470
commit 5c3ded77a7
4 changed files with 3 additions and 14 deletions

View File

@ -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"/>

View File

@ -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));

View File

@ -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();

View File

@ -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
//-------------------------------------------------