summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/cvs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/cvs.cpp')
-rw-r--r--src/mame/drivers/cvs.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/cvs.cpp b/src/mame/drivers/cvs.cpp
index f6d97a93f0d..6e9c16f84ed 100644
--- a/src/mame/drivers/cvs.cpp
+++ b/src/mame/drivers/cvs.cpp
@@ -925,7 +925,7 @@ GFXDECODE_END
*
*************************************/
-void cvs_state::machine_start_cvs()
+MACHINE_START_MEMBER(cvs_state,cvs)
{
/* allocate memory */
if (m_gfxdecode->gfx(1) != nullptr)
@@ -949,7 +949,7 @@ void cvs_state::machine_start_cvs()
save_item(NAME(m_stars_scroll));
}
-void cvs_state::machine_reset_cvs()
+MACHINE_RESET_MEMBER(cvs_state,cvs)
{
m_character_banking_mode = 0;
m_character_ram_page_start = 0;
@@ -984,11 +984,11 @@ MACHINE_CONFIG_START(cvs_state::cvs)
//MCFG_S2650_SENSE_INPUT(READLINE(*this, cvs_state, cvs_393hz_clock_r))
MCFG_S2650_SENSE_INPUT(READLINE("tms", tms5110_device, romclk_hack_r))
- set_machine_start_cb(config, driver_callback_delegate(&machine_start_cvs, this));
- set_machine_reset_cb(config, driver_callback_delegate(&machine_reset_cvs, this));
+ MCFG_MACHINE_START_OVERRIDE(cvs_state,cvs)
+ MCFG_MACHINE_RESET_OVERRIDE(cvs_state,cvs)
/* video hardware */
- set_video_start_cb(config, driver_callback_delegate(&video_start_cvs, this));
+ MCFG_VIDEO_START_OVERRIDE(cvs_state,cvs)
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_cvs)