mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
exidy440.cpp: partial revert of timer_set removal. This needs to be studied better. (nw)
This commit is contained in:
parent
cb29a590d0
commit
f94f97270d
@ -48,7 +48,6 @@ public:
|
||||
uint8_t m_firq_select;
|
||||
uint8_t m_palettebank_io;
|
||||
uint8_t m_palettebank_vis;
|
||||
emu_timer *m_beam_firq_timer;
|
||||
emu_timer *m_collide_firq_timer;
|
||||
DECLARE_WRITE8_MEMBER(bankram_w);
|
||||
DECLARE_READ8_MEMBER(exidy440_input_port_3_r);
|
||||
|
@ -52,7 +52,6 @@ VIDEO_START_MEMBER(exidy440_state,exidy440)
|
||||
memset(m_local_paletteram.get(), 0, 512 * 2);
|
||||
|
||||
m_collide_firq_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(exidy440_state::collide_firq_callback), this));
|
||||
m_beam_firq_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(exidy440_state::beam_firq_callback), this));
|
||||
}
|
||||
|
||||
|
||||
@ -433,7 +432,7 @@ uint32_t exidy440_state::screen_update_exidy440(screen_device &screen, bitmap_in
|
||||
attotime time = screen.time_until_pos(beamy, beamx) - increment * 6;
|
||||
for (i = 0; i <= 12; i++)
|
||||
{
|
||||
m_beam_firq_timer->adjust(time, beamx);
|
||||
machine().scheduler().timer_set(time, timer_expired_delegate(FUNC(exidy440_state::beam_firq_callback),this), beamx);
|
||||
time += increment;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user