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/norautp.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/norautp.cpp')
-rw-r--r-- | src/mame/drivers/norautp.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/mame/drivers/norautp.cpp b/src/mame/drivers/norautp.cpp index 034581a036d..5db5a847408 100644 --- a/src/mame/drivers/norautp.cpp +++ b/src/mame/drivers/norautp.cpp @@ -1225,7 +1225,7 @@ GFXDECODE_END * Machine Drivers * *************************/ -static MACHINE_CONFIG_START( noraut_base ) +MACHINE_CONFIG_START(norautp_state::noraut_base) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", Z80, NORAUT_CPU_CLOCK) @@ -1277,7 +1277,7 @@ static MACHINE_CONFIG_START( noraut_base ) MACHINE_CONFIG_END -static MACHINE_CONFIG_DERIVED( norautp, noraut_base ) +MACHINE_CONFIG_DERIVED(norautp_state::norautp, noraut_base) /* basic machine hardware */ MCFG_CPU_MODIFY("maincpu") @@ -1285,7 +1285,7 @@ static MACHINE_CONFIG_DERIVED( norautp, noraut_base ) MACHINE_CONFIG_END -static MACHINE_CONFIG_DERIVED( norautpl, noraut_base ) +MACHINE_CONFIG_DERIVED(norautp_state::norautpl, noraut_base) /* basic machine hardware */ MCFG_CPU_MODIFY("maincpu") @@ -1297,7 +1297,7 @@ static MACHINE_CONFIG_DERIVED( norautpl, noraut_base ) MACHINE_CONFIG_END -static MACHINE_CONFIG_DERIVED( norautxp, noraut_base ) +MACHINE_CONFIG_DERIVED(norautp_state::norautxp, noraut_base) /* basic machine hardware */ MCFG_CPU_MODIFY("maincpu") @@ -1306,7 +1306,7 @@ static MACHINE_CONFIG_DERIVED( norautxp, noraut_base ) MACHINE_CONFIG_END -static MACHINE_CONFIG_DERIVED( nortest1, noraut_base ) +MACHINE_CONFIG_DERIVED(norautp_state::nortest1, noraut_base) /* basic machine hardware */ MCFG_CPU_MODIFY("maincpu") @@ -1315,7 +1315,7 @@ static MACHINE_CONFIG_DERIVED( nortest1, noraut_base ) MACHINE_CONFIG_END -static MACHINE_CONFIG_DERIVED( norautx4, noraut_base ) +MACHINE_CONFIG_DERIVED(norautp_state::norautx4, noraut_base) /* basic machine hardware */ MCFG_CPU_MODIFY("maincpu") @@ -1335,7 +1335,7 @@ MACHINE_CONFIG_END #endif -static MACHINE_CONFIG_DERIVED( kimble, noraut_base ) +MACHINE_CONFIG_DERIVED(norautp_state::kimble, noraut_base) /* basic machine hardware */ MCFG_CPU_MODIFY("maincpu") @@ -1347,7 +1347,7 @@ static MACHINE_CONFIG_DERIVED( kimble, noraut_base ) MCFG_DISCRETE_INTF(kimble) MACHINE_CONFIG_END -static MACHINE_CONFIG_DERIVED( newhilop, noraut_base ) +MACHINE_CONFIG_DERIVED(norautp_state::newhilop, noraut_base) /* basic machine hardware */ MCFG_CPU_MODIFY("maincpu") @@ -1359,7 +1359,7 @@ MACHINE_CONFIG_END /********** 8080 based **********/ -static MACHINE_CONFIG_DERIVED( dphl, noraut_base ) +MACHINE_CONFIG_DERIVED(norautp_state::dphl, noraut_base) /* basic machine hardware */ MCFG_CPU_REPLACE("maincpu", I8080, DPHL_CPU_CLOCK) @@ -1372,7 +1372,7 @@ static MACHINE_CONFIG_DERIVED( dphl, noraut_base ) MACHINE_CONFIG_END -static MACHINE_CONFIG_DERIVED( dphla, noraut_base ) +MACHINE_CONFIG_DERIVED(norautp_state::dphla, noraut_base) /* basic machine hardware */ MCFG_CPU_REPLACE("maincpu", I8080, DPHL_CPU_CLOCK) @@ -1385,7 +1385,7 @@ static MACHINE_CONFIG_DERIVED( dphla, noraut_base ) MACHINE_CONFIG_END -static MACHINE_CONFIG_DERIVED( kimbldhl, noraut_base ) +MACHINE_CONFIG_DERIVED(norautp_state::kimbldhl, noraut_base) /* basic machine hardware */ MCFG_CPU_REPLACE("maincpu", I8080, DPHL_CPU_CLOCK) @@ -1398,7 +1398,7 @@ static MACHINE_CONFIG_DERIVED( kimbldhl, noraut_base ) MACHINE_CONFIG_END -static MACHINE_CONFIG_DERIVED( dphltest, noraut_base ) +MACHINE_CONFIG_DERIVED(norautp_state::dphltest, noraut_base) /* basic machine hardware */ MCFG_CPU_REPLACE("maincpu", I8080, DPHL_CPU_CLOCK) @@ -1411,7 +1411,7 @@ static MACHINE_CONFIG_DERIVED( dphltest, noraut_base ) MACHINE_CONFIG_END -static MACHINE_CONFIG_DERIVED( drhl, noraut_base ) +MACHINE_CONFIG_DERIVED(norautp_state::drhl, noraut_base) /* basic machine hardware */ MCFG_CPU_REPLACE("maincpu", I8080, DPHL_CPU_CLOCK) @@ -1424,7 +1424,7 @@ static MACHINE_CONFIG_DERIVED( drhl, noraut_base ) MACHINE_CONFIG_END -static MACHINE_CONFIG_DERIVED( ssjkrpkr, noraut_base ) +MACHINE_CONFIG_DERIVED(norautp_state::ssjkrpkr, noraut_base) /* basic machine hardware */ MCFG_CPU_REPLACE("maincpu", I8080, DPHL_CPU_CLOCK) |