summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/atarisy1.cpp
diff options
context:
space:
mode:
author mooglyguy <therealmogminer@gmail.com>2018-06-16 20:04:45 +0200
committer mooglyguy <therealmogminer@gmail.com>2018-06-16 20:05:07 +0200
commita0cb3db8103d587d72d3676eb143a91d48d27782 (patch)
tree38d25b6b5efb64fdb4973dbab8762479dc869e1d /src/mame/drivers/atarisy1.cpp
parenta0688e6fbb60a392d6b15e2a2e88a5e10d85e53a (diff)
coolpool, cave, foodf, itech32, slapstic, dvk_kcgd, dfruit, by17, by35: Remove machine().device, nw
Diffstat (limited to 'src/mame/drivers/atarisy1.cpp')
-rw-r--r--src/mame/drivers/atarisy1.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/atarisy1.cpp b/src/mame/drivers/atarisy1.cpp
index c97ce9f8b4c..6bd68569a54 100644
--- a/src/mame/drivers/atarisy1.cpp
+++ b/src/mame/drivers/atarisy1.cpp
@@ -800,7 +800,7 @@ MACHINE_CONFIG_END
MACHINE_CONFIG_START(atarisy1_state::marble)
atarisy1(config);
- MCFG_SLAPSTIC_ADD("slapstic", 103)
+ MCFG_DEVICE_ADD("slapstic", SLAPSTIC, 103, true)
// No joystick
MCFG_DEVICE_REMOVE("adc")
@@ -809,7 +809,7 @@ MACHINE_CONFIG_END
MACHINE_CONFIG_START(atarisy1_state::peterpak)
atarisy1(config);
- MCFG_SLAPSTIC_ADD("slapstic", 107)
+ MCFG_DEVICE_ADD("slapstic", SLAPSTIC, 107, true)
// Digital joystick read through ADC
MCFG_DEVICE_MODIFY("adc")
@@ -821,7 +821,7 @@ MACHINE_CONFIG_END
MACHINE_CONFIG_START(atarisy1_state::indytemp)
atarisy1(config);
- MCFG_SLAPSTIC_ADD("slapstic", 105)
+ MCFG_DEVICE_ADD("slapstic", SLAPSTIC, 105, true)
// Digital joystick read through ADC
MCFG_DEVICE_MODIFY("adc")
@@ -833,7 +833,7 @@ MACHINE_CONFIG_END
MACHINE_CONFIG_START(atarisy1_state::roadrunn)
atarisy1(config);
- MCFG_SLAPSTIC_ADD("slapstic", 108)
+ MCFG_DEVICE_ADD("slapstic", SLAPSTIC, 108, true)
// Hall-effect analog joystick
MCFG_DEVICE_MODIFY("adc")
@@ -843,7 +843,7 @@ MACHINE_CONFIG_END
MACHINE_CONFIG_START(atarisy1_state::roadb109)
atarisy1(config);
- MCFG_SLAPSTIC_ADD("slapstic", 109)
+ MCFG_DEVICE_ADD("slapstic", SLAPSTIC, 109, true)
// Road Blasters gas pedal
MCFG_DEVICE_MODIFY("adc")
@@ -852,7 +852,7 @@ MACHINE_CONFIG_END
MACHINE_CONFIG_START(atarisy1_state::roadb110)
atarisy1(config);
- MCFG_SLAPSTIC_ADD("slapstic", 110)
+ MCFG_DEVICE_ADD("slapstic", SLAPSTIC, 110, true)
// Road Blasters gas pedal
MCFG_DEVICE_MODIFY("adc")