summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/cclimber.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2018-07-03 03:18:42 +1000
committer Vas Crabb <vas@vastheman.com>2018-07-03 03:18:42 +1000
commit7da0bb19d6391aaf93faaee3ad2814badfab7884 (patch)
tree0b05ff2a124cd57249ca9a1268bffde77bcb15a1 /src/mame/drivers/cclimber.cpp
parentb1652588fab138246c529476d570f7fcb4e13d59 (diff)
misc cleanup and compile fix for superqix.cpp (nw)
Diffstat (limited to 'src/mame/drivers/cclimber.cpp')
-rw-r--r--src/mame/drivers/cclimber.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/cclimber.cpp b/src/mame/drivers/cclimber.cpp
index 088c6d3acac..ebd5258c9c1 100644
--- a/src/mame/drivers/cclimber.cpp
+++ b/src/mame/drivers/cclimber.cpp
@@ -1111,11 +1111,11 @@ WRITE_LINE_MEMBER(cclimber_state::bagmanf_vblank_irq)
MACHINE_CONFIG_START(cclimber_state::root)
/* basic machine hardware */
- MCFG_DEVICE_ADD("maincpu", Z80, MASTER_CLOCK/3/2) /* 3.072 MHz */
+ MCFG_DEVICE_ADD(m_maincpu, Z80, MASTER_CLOCK/3/2) /* 3.072 MHz */
MCFG_DEVICE_PROGRAM_MAP(cclimber_map)
MCFG_DEVICE_IO_MAP(cclimber_portmap)
- MCFG_DEVICE_ADD("mainlatch", LS259, 0)
+ MCFG_DEVICE_ADD(m_mainlatch, LS259, 0)
MCFG_ADDRESSABLE_LATCH_Q0_OUT_CB(WRITELINE(*this, cclimber_state, nmi_mask_w))
MCFG_ADDRESSABLE_LATCH_Q1_OUT_CB(WRITELINE(*this, cclimber_state, flip_screen_x_w))
MCFG_ADDRESSABLE_LATCH_Q2_OUT_CB(WRITELINE(*this, cclimber_state, flip_screen_y_w))
@@ -1194,7 +1194,7 @@ MACHINE_CONFIG_START(cclimber_state::yamato)
root(config);
/* basic machine hardware */
- MCFG_DEVICE_REPLACE("maincpu", SEGA_315_5018, MASTER_CLOCK/3/2) /* 3.072 MHz */
+ MCFG_DEVICE_REPLACE(m_maincpu, SEGA_315_5018, MASTER_CLOCK/3/2) /* 3.072 MHz */
MCFG_DEVICE_PROGRAM_MAP(yamato_map)
MCFG_DEVICE_IO_MAP(yamato_portmap)
MCFG_DEVICE_OPCODES_MAP(yamato_decrypted_opcodes_map)
@@ -1225,7 +1225,7 @@ MACHINE_CONFIG_END
MACHINE_CONFIG_START(cclimber_state::toprollr)
cclimber(config);
- MCFG_DEVICE_REPLACE("maincpu", SEGA_315_5018, MASTER_CLOCK/3/2) /* 3.072 MHz */
+ MCFG_DEVICE_REPLACE(m_maincpu, SEGA_315_5018, MASTER_CLOCK/3/2) /* 3.072 MHz */
MCFG_DEVICE_PROGRAM_MAP(toprollr_map)
MCFG_DEVICE_IO_MAP(cclimber_portmap)
MCFG_DEVICE_OPCODES_MAP(toprollr_decrypted_opcodes_map)
@@ -1252,10 +1252,10 @@ MACHINE_CONFIG_END
MACHINE_CONFIG_START(cclimber_state::swimmer)
/* basic machine hardware */
- MCFG_DEVICE_ADD("maincpu", Z80, XTAL(18'432'000)/6) /* verified on pcb */
+ MCFG_DEVICE_ADD(m_maincpu, Z80, XTAL(18'432'000)/6) /* verified on pcb */
MCFG_DEVICE_PROGRAM_MAP(swimmer_map)
- MCFG_DEVICE_ADD("mainlatch", LS259, 0)
+ MCFG_DEVICE_ADD(m_mainlatch, LS259, 0)
MCFG_ADDRESSABLE_LATCH_Q0_OUT_CB(WRITELINE(*this, cclimber_state, nmi_mask_w))
MCFG_ADDRESSABLE_LATCH_Q1_OUT_CB(WRITELINE(*this, cclimber_state, flip_screen_x_w))
MCFG_ADDRESSABLE_LATCH_Q2_OUT_CB(WRITELINE(*this, cclimber_state, flip_screen_y_w))