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/atarisy1.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/atarisy1.cpp')
-rw-r--r-- | src/mame/drivers/atarisy1.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/drivers/atarisy1.cpp b/src/mame/drivers/atarisy1.cpp index f015ea086b5..21034a7a5bc 100644 --- a/src/mame/drivers/atarisy1.cpp +++ b/src/mame/drivers/atarisy1.cpp @@ -725,7 +725,7 @@ GFXDECODE_END * *************************************/ -static MACHINE_CONFIG_START( atarisy1 ) +MACHINE_CONFIG_START(atarisy1_state::atarisy1) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", M68010, ATARI_CLOCK_14MHz/2) @@ -802,27 +802,27 @@ static MACHINE_CONFIG_START( atarisy1 ) MCFG_VIA6522_WRITEPB_HANDLER(WRITE8(atarisy1_state, via_pb_w)) MACHINE_CONFIG_END -static MACHINE_CONFIG_DERIVED( marble, atarisy1 ) +MACHINE_CONFIG_DERIVED(atarisy1_state::marble, atarisy1) MCFG_SLAPSTIC_ADD("slapstic", 103) MACHINE_CONFIG_END -static MACHINE_CONFIG_DERIVED( peterpak, atarisy1 ) +MACHINE_CONFIG_DERIVED(atarisy1_state::peterpak, atarisy1) MCFG_SLAPSTIC_ADD("slapstic", 107) MACHINE_CONFIG_END -static MACHINE_CONFIG_DERIVED( indytemp, atarisy1 ) +MACHINE_CONFIG_DERIVED(atarisy1_state::indytemp, atarisy1) MCFG_SLAPSTIC_ADD("slapstic", 105) MACHINE_CONFIG_END -static MACHINE_CONFIG_DERIVED( roadrunn, atarisy1 ) +MACHINE_CONFIG_DERIVED(atarisy1_state::roadrunn, atarisy1) MCFG_SLAPSTIC_ADD("slapstic", 108) MACHINE_CONFIG_END -static MACHINE_CONFIG_DERIVED( roadb109, atarisy1 ) +MACHINE_CONFIG_DERIVED(atarisy1_state::roadb109, atarisy1) MCFG_SLAPSTIC_ADD("slapstic", 109) MACHINE_CONFIG_END -static MACHINE_CONFIG_DERIVED( roadb110, atarisy1 ) +MACHINE_CONFIG_DERIVED(atarisy1_state::roadb110, atarisy1) MCFG_SLAPSTIC_ADD("slapstic", 110) MACHINE_CONFIG_END |