diff --git a/src/mame/drivers/jantotsu.cpp b/src/mame/drivers/jantotsu.cpp index fe9b61e8938..5295ffe35d7 100644 --- a/src/mame/drivers/jantotsu.cpp +++ b/src/mame/drivers/jantotsu.cpp @@ -505,8 +505,6 @@ MACHINE_CONFIG_START(jantotsu_state::jantotsu) MCFG_CPU_ADD("maincpu", Z80,MAIN_CLOCK/4) MCFG_CPU_PROGRAM_MAP(jantotsu_map) MCFG_CPU_IO_MAP(jantotsu_io) - MCFG_CPU_VBLANK_INT_DRIVER("screen", jantotsu_state, nmi_line_pulse) - /* video hardware */ MCFG_SCREEN_ADD("screen", RASTER) @@ -515,6 +513,7 @@ MACHINE_CONFIG_START(jantotsu_state::jantotsu) MCFG_SCREEN_SIZE(256, 256) MCFG_SCREEN_VISIBLE_AREA(0, 256-1, 16, 240-1) MCFG_SCREEN_UPDATE_DRIVER(jantotsu_state, screen_update_jantotsu) + MCFG_SCREEN_VBLANK_CALLBACK(INPUTLINE("maincpu", INPUT_LINE_NMI)) MCFG_PALETTE_ADD("palette", 0x20) MCFG_PALETTE_INIT_OWNER(jantotsu_state, jantotsu) diff --git a/src/mame/drivers/mrjong.cpp b/src/mame/drivers/mrjong.cpp index 44a48ab3a96..86a3a19c0d4 100644 --- a/src/mame/drivers/mrjong.cpp +++ b/src/mame/drivers/mrjong.cpp @@ -191,7 +191,6 @@ MACHINE_CONFIG_START(mrjong_state::mrjong) MCFG_CPU_ADD("maincpu", Z80,15468000/6) /* 2.578 MHz?? */ MCFG_CPU_PROGRAM_MAP(mrjong_map) MCFG_CPU_IO_MAP(mrjong_io_map) - MCFG_CPU_VBLANK_INT_DRIVER("screen", mrjong_state, nmi_line_pulse) /* video hardware */ MCFG_SCREEN_ADD("screen", RASTER) @@ -201,6 +200,7 @@ MACHINE_CONFIG_START(mrjong_state::mrjong) MCFG_SCREEN_VISIBLE_AREA(0*8, 30*8-1, 2*8, 30*8-1) MCFG_SCREEN_UPDATE_DRIVER(mrjong_state, screen_update_mrjong) MCFG_SCREEN_PALETTE("palette") + MCFG_SCREEN_VBLANK_CALLBACK(INPUTLINE("maincpu", INPUT_LINE_NMI)) MCFG_GFXDECODE_ADD("gfxdecode", "palette", mrjong) MCFG_PALETTE_ADD("palette", 4*32)