summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/othello.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/othello.c')
-rw-r--r--src/mame/drivers/othello.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/othello.c b/src/mame/drivers/othello.c
index e5dc1535f25..834c105b9cb 100644
--- a/src/mame/drivers/othello.c
+++ b/src/mame/drivers/othello.c
@@ -69,7 +69,7 @@ public:
int m_n7751_busy;
/* devices */
- device_t *m_maincpu;
+ cpu_device *m_maincpu;
mc6845_device *m_mc6845;
device_t *m_n7751;
device_t *m_ay1;
@@ -153,8 +153,8 @@ WRITE8_MEMBER(othello_state::unk_8a_w)
m_n7751_command = (data & 0x07);
- device_set_input_line(m_n7751, 0, ((data & 0x08) == 0) ? ASSERT_LINE : CLEAR_LINE);
- //device_set_input_line(m_n7751, 0, (data & 0x02) ? CLEAR_LINE : ASSERT_LINE);
+ m_n7751->execute().set_input_line(0, ((data & 0x08) == 0) ? ASSERT_LINE : CLEAR_LINE);
+ //m_n7751->execute().set_input_line(0, (data & 0x02) ? CLEAR_LINE : ASSERT_LINE);
machine().scheduler().boost_interleave(attotime::zero, attotime::from_usec(100));
*/
@@ -384,7 +384,7 @@ static MACHINE_START( othello )
{
othello_state *state = machine.driver_data<othello_state>();
- state->m_maincpu = machine.device("maincpu");
+ state->m_maincpu = machine.device<cpu_device>("maincpu");
state->m_mc6845 = machine.device<mc6845_device>("crtc");
state->m_n7751 = machine.device("n7751");
state->m_ay1 = machine.device("ay1");