diff options
author | Olivier Galibert <galibert@pobox.com> | 2018-01-07 22:20:14 +0100 |
---|---|---|
committer | Olivier Galibert <galibert@pobox.com> | 2018-01-17 16:11:18 +0100 |
commit | d469cc04bcace0f601802301caeddc5b473b75f2 (patch) | |
tree | a9d71540c9c69cee5ab3a533476b81833fa02f5f /src/mame/drivers/hec2hrp.cpp | |
parent | 9f383f76ce6f00cc3320e5ba53dc323781e0077b (diff) |
API Change: Machine configs are now a method of the owner class, and the prototype is simplified [O. Galibert]
Beware, the device context does not follow in MCFG_FRAGMENT_ADD
anymore due to the prototype change. So creating a device then
configuring through a fragment doesn't work as-is. The simplest
solution is just to add a MCFG_DEVICE_MODIFY at the start of the
fragment with the correct tag.
Diffstat (limited to 'src/mame/drivers/hec2hrp.cpp')
-rw-r--r-- | src/mame/drivers/hec2hrp.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/hec2hrp.cpp b/src/mame/drivers/hec2hrp.cpp index c99902e50e3..d2c74688bc8 100644 --- a/src/mame/drivers/hec2hrp.cpp +++ b/src/mame/drivers/hec2hrp.cpp @@ -401,7 +401,7 @@ SLOT_INTERFACE_END /******************************************************************************/ -static MACHINE_CONFIG_START( hec2hr ) +MACHINE_CONFIG_START(hec2hrp_state::hec2hr) /******************************************************************************/ /* basic machine hardware */ MCFG_CPU_ADD("maincpu",Z80, XTAL_5MHz) @@ -436,7 +436,7 @@ static MACHINE_CONFIG_START( hec2hr ) MACHINE_CONFIG_END /*****************************************************************************/ -static MACHINE_CONFIG_START( hec2hrp ) +MACHINE_CONFIG_START(hec2hrp_state::hec2hrp) /*****************************************************************************/ /* basic machine hardware */ MCFG_CPU_ADD("maincpu",Z80, XTAL_5MHz) @@ -475,7 +475,7 @@ static SLOT_INTERFACE_START( hector_floppies ) SLOT_INTERFACE_END /*****************************************************************************/ -static MACHINE_CONFIG_START( hec2mx40 ) +MACHINE_CONFIG_START(hec2hrp_state::hec2mx40) /*****************************************************************************/ /* basic machine hardware */ MCFG_CPU_ADD("maincpu",Z80, XTAL_5MHz) @@ -519,7 +519,7 @@ static MACHINE_CONFIG_START( hec2mx40 ) MACHINE_CONFIG_END /*****************************************************************************/ -static MACHINE_CONFIG_START( hec2hrx ) +MACHINE_CONFIG_START(hec2hrp_state::hec2hrx) /*****************************************************************************/ /* basic machine hardware */ MCFG_CPU_ADD("maincpu",Z80, XTAL_5MHz) @@ -563,7 +563,7 @@ static MACHINE_CONFIG_START( hec2hrx ) MACHINE_CONFIG_END /*****************************************************************************/ -static MACHINE_CONFIG_START( hec2mdhrx ) +MACHINE_CONFIG_START(hec2hrp_state::hec2mdhrx) /*****************************************************************************/ // minidisc /* basic machine hardware */ @@ -605,7 +605,7 @@ static MACHINE_CONFIG_START( hec2mdhrx ) MACHINE_CONFIG_END /*****************************************************************************/ -static MACHINE_CONFIG_START( hec2mx80 ) +MACHINE_CONFIG_START(hec2hrp_state::hec2mx80) /*****************************************************************************/ /* basic machine hardware */ MCFG_CPU_ADD("maincpu",Z80, XTAL_5MHz) |