summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/pc_kbdc.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2013-01-11 07:32:46 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2013-01-11 07:32:46 +0000
commit0e19f641d3186cdbf51f8ca857e2b07ab95779c2 (patch)
tree234109de1123b13f217494af4b3f8efad346d5cc /src/mess/machine/pc_kbdc.c
parent111157ca09a9ff60fe4a9ba49173c315e94314fa (diff)
Cleanups and version bumpmame0148
Diffstat (limited to 'src/mess/machine/pc_kbdc.c')
-rw-r--r--src/mess/machine/pc_kbdc.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/mess/machine/pc_kbdc.c b/src/mess/machine/pc_kbdc.c
index 07febf7ac04..5c108827933 100644
--- a/src/mess/machine/pc_kbdc.c
+++ b/src/mess/machine/pc_kbdc.c
@@ -30,7 +30,7 @@ const device_type PC_KBDC_SLOT = &device_creator<pc_kbdc_slot_device>;
// pc_kbdc_slot_device - constructor
//-------------------------------------------------
pc_kbdc_slot_device::pc_kbdc_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) :
- device_t(mconfig, PC_KBDC_SLOT, "PC_KBDC_SLOT", tag, owner, clock),
+ device_t(mconfig, PC_KBDC_SLOT, "PC_KBDC_SLOT", tag, owner, clock),
device_slot_interface(mconfig, *this)
{
}
@@ -119,8 +119,8 @@ void pc_kbdc_device::device_start()
//-------------------------------------------------
void pc_kbdc_device::device_reset()
{
- m_clock_state = -1; /* initial state of calculated clock line */
- m_data_state = -1; /* initial state of calculated data line */
+ m_clock_state = -1; /* initial state of calculated clock line */
+ m_data_state = -1; /* initial state of calculated data line */
// Initially assume both keyboard and mainboard have released their data and clock lines
m_mb_clock_state = 1;
@@ -209,9 +209,9 @@ WRITE_LINE_MEMBER( pc_kbdc_device::data_write_from_kb )
//-------------------------------------------------
device_pc_kbd_interface::device_pc_kbd_interface(const machine_config &mconfig, device_t &device)
- : device_slot_card_interface(mconfig, device),
- m_pc_kbdc(NULL),
- m_pc_kbdc_tag(NULL)
+ : device_slot_card_interface(mconfig, device),
+ m_pc_kbdc(NULL),
+ m_pc_kbdc_tag(NULL)
{
}
@@ -249,4 +249,3 @@ void device_pc_kbd_interface::set_pc_kbdc_device()
m_pc_kbdc->set_keyboard( this );
}
}
-