mirror of
https://github.com/holub/mame
synced 2025-06-03 11:26:56 +03:00
ibm5170: fix validity error
This commit is contained in:
parent
eab35a4470
commit
5c3ded77a7
@ -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"/>
|
||||
|
@ -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));
|
||||
|
@ -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();
|
||||
|
@ -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
|
||||
//-------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user