lastfght: Modernize VBLANK interrupt

This commit is contained in:
AJR 2023-06-30 09:34:28 -04:00
parent 8512d4655c
commit 1ab9990a98

View File

@ -528,7 +528,6 @@ void lastfght_state::lastfght(machine_config &config)
/* basic machine hardware */
H83044(config, m_maincpu, 32000000/2);
m_maincpu->set_addrmap(AS_PROGRAM, &lastfght_state::lastfght_map);
m_maincpu->set_vblank_int("screen", FUNC(lastfght_state::irq0_line_hold));
NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_0);
@ -556,6 +555,7 @@ void lastfght_state::lastfght(machine_config &config)
m_screen->set_refresh_hz(60);
m_screen->set_screen_update(FUNC(lastfght_state::screen_update));
m_screen->set_palette(m_palette);
m_screen->screen_vblank().set_inputline(m_maincpu, 0);
}