summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/bishi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/bishi.c')
-rw-r--r--src/mame/drivers/bishi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/bishi.c b/src/mame/drivers/bishi.c
index 03f8f8b98f2..28ff0f899ce 100644
--- a/src/mame/drivers/bishi.c
+++ b/src/mame/drivers/bishi.c
@@ -363,7 +363,7 @@ static void sound_irq_gen(device_t *device, int state)
{
bishi_state *bishi = device->machine().driver_data<bishi_state>();
- device_set_input_line(bishi->m_maincpu, M68K_IRQ_1, (state) ? ASSERT_LINE : CLEAR_LINE);
+ bishi->m_maincpu->set_input_line(M68K_IRQ_1, (state) ? ASSERT_LINE : CLEAR_LINE);
}
static const ymz280b_interface ymz280b_intf =
@@ -392,7 +392,7 @@ static MACHINE_START( bishi )
{
bishi_state *state = machine.driver_data<bishi_state>();
- state->m_maincpu = machine.device("maincpu");
+ state->m_maincpu = machine.device<cpu_device>("maincpu");
state->m_k056832 = machine.device("k056832");
state->m_k054338 = machine.device("k054338");
state->m_k055555 = machine.device("k055555");