mirror of
https://github.com/holub/mame
synced 2025-07-01 00:09:18 +03:00
fix GCC 4.8 compile (nw)
This commit is contained in:
parent
622caec60f
commit
e5344c00c3
@ -146,7 +146,7 @@ void pentagon_state::device_timer(emu_timer &timer, device_timer_id id, int para
|
|||||||
TIMER_CALLBACK_MEMBER(pentagon_state::irq_on)
|
TIMER_CALLBACK_MEMBER(pentagon_state::irq_on)
|
||||||
{
|
{
|
||||||
m_maincpu->set_input_line(0, HOLD_LINE);
|
m_maincpu->set_input_line(0, HOLD_LINE);
|
||||||
timer_set(attotime::from_ticks(32, XTAL_14MHz / 4), TIMER_IRQ_OFF, NULL);
|
timer_set(attotime::from_ticks(32, XTAL_14MHz / 4), TIMER_IRQ_OFF, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
TIMER_CALLBACK_MEMBER(pentagon_state::irq_off)
|
TIMER_CALLBACK_MEMBER(pentagon_state::irq_off)
|
||||||
@ -156,7 +156,7 @@ TIMER_CALLBACK_MEMBER(pentagon_state::irq_off)
|
|||||||
|
|
||||||
INTERRUPT_GEN_MEMBER(pentagon_state::pentagon_interrupt)
|
INTERRUPT_GEN_MEMBER(pentagon_state::pentagon_interrupt)
|
||||||
{
|
{
|
||||||
timer_set(attotime::from_ticks(179, XTAL_14MHz / 4), TIMER_IRQ_ON, NULL);
|
timer_set(attotime::from_ticks(179, XTAL_14MHz / 4), TIMER_IRQ_ON, 0);
|
||||||
}
|
}
|
||||||
static ADDRESS_MAP_START (pentagon_io, AS_IO, 8, pentagon_state )
|
static ADDRESS_MAP_START (pentagon_io, AS_IO, 8, pentagon_state )
|
||||||
ADDRESS_MAP_UNMAP_HIGH
|
ADDRESS_MAP_UNMAP_HIGH
|
||||||
|
Loading…
Reference in New Issue
Block a user