diff options
author | Vas Crabb <vas@vastheman.com> | 2018-05-16 21:56:39 +1000 |
---|---|---|
committer | Vas Crabb <vas@vastheman.com> | 2018-05-16 21:56:39 +1000 |
commit | 166638ce8093e04884166296469bda82882890fd (patch) | |
tree | 6dedcf3bde5d05843695efaf4949ab285d3193f1 /src/mame/drivers/dambustr.cpp | |
parent | 8e796a2075415427491a541b75884aea6e21f6a9 (diff) |
Revert "- Removed MACHINE/SOUND/VIDEO _START/_RESET macros. This has the side effect of making machine-config overrides of these much"
This reverts commit c83e2a853d4e1643fcc85b68ada3c6f7f33adea4.
Revert "fix compile. (nw)"
This reverts commit a259ba3e366f442a22a9341755ff58163869860c.
GCC is being bad and allowing invalid C++ that other compilers reject.
Diffstat (limited to 'src/mame/drivers/dambustr.cpp')
-rw-r--r-- | src/mame/drivers/dambustr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/dambustr.cpp b/src/mame/drivers/dambustr.cpp index 0090b98862c..e22f17b6d99 100644 --- a/src/mame/drivers/dambustr.cpp +++ b/src/mame/drivers/dambustr.cpp @@ -262,7 +262,7 @@ MACHINE_CONFIG_START(dambustr_state::dambustr) MCFG_DEVICE_ADD("maincpu", Z80, 18432000/6) /* 3.072 MHz */ MCFG_DEVICE_PROGRAM_MAP(dambustr_map) - set_machine_reset_cb(config, driver_callback_delegate(&machine_reset_galaxold, this)); + MCFG_MACHINE_RESET_OVERRIDE(dambustr_state,galaxold) MCFG_DEVICE_ADD("7474_9m_1", TTL7474, 0) MCFG_7474_OUTPUT_CB(WRITELINE(*this, dambustr_state,galaxold_7474_9m_1_callback)) @@ -286,7 +286,7 @@ MACHINE_CONFIG_START(dambustr_state::dambustr) MCFG_PALETTE_ADD("palette", 32+2+64+8) /* 32 for the characters, 2 for the bullets, 64 for the stars, 8 for the background */ MCFG_PALETTE_INIT_OWNER(dambustr_state,dambustr) - set_video_start_cb(config, driver_callback_delegate(&video_start_dambustr, this)); + MCFG_VIDEO_START_OVERRIDE(dambustr_state,dambustr) /* sound hardware */ SPEAKER(config, "speaker").front_center(); |