summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/galaxia.cpp
diff options
context:
space:
mode:
authorGravatarGravatar Vas Crabb <vas@vastheman.com>2018-05-16 21:56:39 +1000
committerGravatarGravatar Vas Crabb <vas@vastheman.com>2018-05-16 21:56:39 +1000
commit166638ce8093e04884166296469bda82882890fd (patch) (github)
tree6dedcf3bde5d05843695efaf4949ab285d3193f1 /src/mame/drivers/galaxia.cpp
parent8e796a2075415427491a541b75884aea6e21f6a9 (diff)
downloadmame-166638ce8093e04884166296469bda82882890fd.tar.bz2
mame-166638ce8093e04884166296469bda82882890fd.zip
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/galaxia.cpp')
-rw-r--r--src/mame/drivers/galaxia.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/galaxia.cpp b/src/mame/drivers/galaxia.cpp
index 4939fde0380..9ac5db7e13a 100644
--- a/src/mame/drivers/galaxia.cpp
+++ b/src/mame/drivers/galaxia.cpp
@@ -316,7 +316,7 @@ MACHINE_CONFIG_START(galaxia_state::galaxia)
MCFG_PALETTE_ADD("palette", 0x18+2)
MCFG_PALETTE_INIT_OWNER(galaxia_state,galaxia)
- set_video_start_cb(config, driver_callback_delegate(&video_start_galaxia, this));
+ MCFG_VIDEO_START_OVERRIDE(galaxia_state,galaxia)
MCFG_DEVICE_ADD("s2636_0", S2636, 0)
MCFG_S2636_OFFSETS(-13, -26)
@@ -360,7 +360,7 @@ MACHINE_CONFIG_START(galaxia_state::astrowar)
MCFG_PALETTE_ADD("palette", 0x18+2)
MCFG_PALETTE_INIT_OWNER(galaxia_state,astrowar)
- set_video_start_cb(config, driver_callback_delegate(&video_start_astrowar, this));
+ MCFG_VIDEO_START_OVERRIDE(galaxia_state,astrowar)
MCFG_DEVICE_ADD("s2636_0", S2636, 0)
MCFG_S2636_OFFSETS(-13, -8)