summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/exidy.cpp
diff options
context:
space:
mode:
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
commit166638ce8093e04884166296469bda82882890fd (patch)
tree6dedcf3bde5d05843695efaf4949ab285d3193f1 /src/mame/drivers/exidy.cpp
parent8e796a2075415427491a541b75884aea6e21f6a9 (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/exidy.cpp')
-rw-r--r--src/mame/drivers/exidy.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/exidy.cpp b/src/mame/drivers/exidy.cpp
index 899a5aa71fb..68a9560461d 100644
--- a/src/mame/drivers/exidy.cpp
+++ b/src/mame/drivers/exidy.cpp
@@ -810,7 +810,7 @@ GFXDECODE_END
*
*************************************/
-void exidy_state::machine_start_teetert()
+MACHINE_START_MEMBER(exidy_state,teetert)
{
save_item(NAME(m_last_dial));
}
@@ -906,7 +906,7 @@ MACHINE_CONFIG_START(exidy_state::teetert)
MCFG_DEVICE_MODIFY("maincpu")
MCFG_DEVICE_PERIODIC_INT_DRIVER(exidy_state, nmi_line_pulse, 10*60)
- set_machine_start_cb(config, driver_callback_delegate(&machine_start_teetert, this));
+ MCFG_MACHINE_START_OVERRIDE(exidy_state, teetert )
MACHINE_CONFIG_END