summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/kingobox.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/kingobox.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/kingobox.cpp')
-rw-r--r--src/mame/drivers/kingobox.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/kingobox.cpp b/src/mame/drivers/kingobox.cpp
index 77216a25b36..00941770e84 100644
--- a/src/mame/drivers/kingobox.cpp
+++ b/src/mame/drivers/kingobox.cpp
@@ -503,7 +503,7 @@ MACHINE_CONFIG_START(kingofb_state::kingofb)
MCFG_PALETTE_ADD("palette", 256+8*2)
MCFG_PALETTE_INDIRECT_ENTRIES(256+8)
MCFG_PALETTE_INIT_OWNER(kingofb_state,kingofb)
- set_video_start_cb(config, driver_callback_delegate(&video_start_kingofb, this));
+ MCFG_VIDEO_START_OVERRIDE(kingofb_state,kingofb)
/* sound hardware */
SPEAKER(config, "speaker").front_center();
@@ -562,7 +562,7 @@ MACHINE_CONFIG_START(kingofb_state::ringking)
MCFG_PALETTE_ADD("palette", 256+8*2)
MCFG_PALETTE_INDIRECT_ENTRIES(256+8)
MCFG_PALETTE_INIT_OWNER(kingofb_state,ringking)
- set_video_start_cb(config, driver_callback_delegate(&video_start_ringking, this));
+ MCFG_VIDEO_START_OVERRIDE(kingofb_state,ringking)
/* sound hardware */
SPEAKER(config, "speaker").front_center();