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/actfancr.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/actfancr.cpp')
-rw-r--r-- | src/mame/drivers/actfancr.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/actfancr.cpp b/src/mame/drivers/actfancr.cpp index 8ddbdff2a48..08e9c50d3f5 100644 --- a/src/mame/drivers/actfancr.cpp +++ b/src/mame/drivers/actfancr.cpp @@ -274,12 +274,12 @@ GFXDECODE_END /******************************************************************************/ -void actfancr_state::machine_start_triothep() +MACHINE_START_MEMBER(actfancr_state,triothep) { save_item(NAME(m_trio_control_select)); } -void actfancr_state::machine_reset_triothep() +MACHINE_RESET_MEMBER(actfancr_state,triothep) { m_trio_control_select = 0; } @@ -351,8 +351,8 @@ MACHINE_CONFIG_START(actfancr_state::triothep) MCFG_DEVICE_ADD("audiocpu",M6502, XTAL(12'000'000)/8) /* verified on pcb */ MCFG_DEVICE_PROGRAM_MAP(dec0_s_map) - set_machine_start_cb(config, driver_callback_delegate(&machine_start_triothep, this)); - set_machine_reset_cb(config, driver_callback_delegate(&machine_reset_triothep, this)); + MCFG_MACHINE_START_OVERRIDE(actfancr_state,triothep) + MCFG_MACHINE_RESET_OVERRIDE(actfancr_state,triothep) /* video hardware */ MCFG_SCREEN_ADD("screen", RASTER) |