mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
lastfght: Modernize VBLANK interrupt
This commit is contained in:
parent
8512d4655c
commit
1ab9990a98
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user