summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/segaufo.cpp
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-04-24 15:15:04 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-04-24 15:38:49 +0200
commit96d123b42c87007222bb545878cdef0116b60885 (patch)
treea611581b57d4debe784f1134a3de95426a7ba592 /src/mame/drivers/segaufo.cpp
parentc2c22570779f69e6921499b7abeb75f6db3d7822 (diff)
NULL->nullptr, instead of DEVCB_NULL use always DEVCB_NOOP to prevent confusion (nw)
Diffstat (limited to 'src/mame/drivers/segaufo.cpp')
-rw-r--r--src/mame/drivers/segaufo.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/segaufo.cpp b/src/mame/drivers/segaufo.cpp
index 1263d6daafb..12007ec721c 100644
--- a/src/mame/drivers/segaufo.cpp
+++ b/src/mame/drivers/segaufo.cpp
@@ -805,8 +805,8 @@ static MACHINE_CONFIG_DERIVED( ufomini, newufo )
/* basic machine hardware */
MCFG_DEVICE_MODIFY("io1")
MCFG_315_5296_IN_PORTC_CB(IOPORT("IN1"))
- MCFG_315_5296_IN_PORTE_CB(NULL)
- MCFG_315_5296_IN_PORTH_CB(NULL)
+ MCFG_315_5296_IN_PORTE_CB(NOOP)
+ MCFG_315_5296_IN_PORTH_CB(NOOP)
MACHINE_CONFIG_END
@@ -826,7 +826,7 @@ static MACHINE_CONFIG_DERIVED( ufo21, newufo )
MCFG_315_5296_OUT_PORTB_CB(WRITE8(ufo_state, ex_cp_lamps_w))
MCFG_315_5296_OUT_PORTE_CB(WRITE8(ufo_state, ex_crane_xyz_w))
MCFG_315_5296_OUT_PORTF_CB(WRITE8(ufo_state, ex_crane_xyz_w))
- MCFG_315_5296_OUT_PORTG_CB(NULL)
+ MCFG_315_5296_OUT_PORTG_CB(NOOP)
/* sound hardware */
MCFG_SOUND_ADD("upd", UPD7759, UPD7759_STANDARD_CLOCK)
@@ -844,15 +844,15 @@ static MACHINE_CONFIG_DERIVED( ufo800, newufo )
MCFG_315_5296_IN_PORTB_CB(IOPORT("IN2"))
MCFG_315_5296_IN_PORTC_CB(READ8(ufo_state, ex_crane_open_r))
MCFG_315_5296_IN_PORTD_CB(IOPORT("IN1"))
- MCFG_315_5296_IN_PORTE_CB(NULL)
- MCFG_315_5296_IN_PORTH_CB(NULL)
+ MCFG_315_5296_IN_PORTE_CB(NOOP)
+ MCFG_315_5296_IN_PORTH_CB(NOOP)
MCFG_DEVICE_MODIFY("io2")
MCFG_315_5296_OUT_PORTA_CB(WRITE8(ufo_state, ex_stepper_w))
MCFG_315_5296_OUT_PORTB_CB(WRITE8(ufo_state, ex_cp_lamps_w))
MCFG_315_5296_OUT_PORTE_CB(WRITE8(ufo_state, ex_crane_xyz_w))
MCFG_315_5296_OUT_PORTF_CB(WRITE8(ufo_state, ex_ufo800_lamps_w))
- MCFG_315_5296_OUT_PORTG_CB(NULL)
+ MCFG_315_5296_OUT_PORTG_CB(NOOP)
MACHINE_CONFIG_END