summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/itgamble.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2010-08-26 15:21:19 +0000
committer Aaron Giles <aaron@aarongiles.com>2010-08-26 15:21:19 +0000
commit47dd9fe5680add9e438e75d71ce476b082382fdf (patch)
tree55f9ab6e9fe1351cbff6992924197ed9a6a33e26 /src/mame/drivers/itgamble.c
parent33e4664bb21d437c5b8fee3c470b00084d0d9d8a (diff)
De-converted MACHINE_DRIVER from tokens back to constructor functions, regaining
type safety. If legacy devices still use inline data, those types are not checked. However, new devices no longer have access to the generic m_inline_data. Instead their MDRV_* macros should map to calls to static functions in the device config class which downcast a generic device_config to the specific device config, and then set the appropriate values. This is not to be done inline in order to prevent further code bloat in the constructors. See eeprom/7474/i2cmem/okim6295 for examples. #ifdef'ed several unused machine driver definitions that weren't referenced.
Diffstat (limited to 'src/mame/drivers/itgamble.c')
-rw-r--r--src/mame/drivers/itgamble.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mame/drivers/itgamble.c b/src/mame/drivers/itgamble.c
index 4ad8685f77b..0f0dc952e3c 100644
--- a/src/mame/drivers/itgamble.c
+++ b/src/mame/drivers/itgamble.c
@@ -217,6 +217,7 @@ static MACHINE_DRIVER_START( mnumber )
MACHINE_DRIVER_END
+#ifdef UNUSED_CODE
static MACHINE_DRIVER_START( ejollyx5 )
MDRV_IMPORT_FROM(itgamble)
@@ -227,6 +228,7 @@ static MACHINE_DRIVER_START( ejollyx5 )
MDRV_OKIM6295_REPLACE("oki", MNUMBER_SND_CLOCK/16, OKIM6295_PIN7_HIGH) /* clock frequency & pin 7 not verified */
MDRV_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MACHINE_DRIVER_END
+#endif
/*************************