From c31a033b9fcc4e01856bccbf982a61be7ed143c6 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sun, 4 Jul 2010 06:09:43 +0000 Subject: [PATCH] Fixed compiler error (no whatsnew) --- src/mame/drivers/dec8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mame/drivers/dec8.c b/src/mame/drivers/dec8.c index d590cd5cb62..8c3b9c35415 100644 --- a/src/mame/drivers/dec8.c +++ b/src/mame/drivers/dec8.c @@ -131,7 +131,7 @@ static WRITE8_HANDLER( dec8_i8751_w ) case 0: /* High byte - SECIRQ is trigged on activating this latch */ state->i8751_value = (state->i8751_value & 0xff) | (data << 8); cpu_set_input_line(state->mcu, MCS51_INT1_LINE, ASSERT_LINE); - timer_set(space->machine, cpu_clocks_to_attotime(state->mcu, 64), NULL, 0, dec8_i8751_timer_callback); // 64 clocks not confirmed + timer_set(space->machine, state->mcu->clocks_to_attotime(64), NULL, 0, dec8_i8751_timer_callback); // 64 clocks not confirmed break; case 1: /* Low byte */ state->i8751_value = (state->i8751_value & 0xff00) | data;