summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/itgamble.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2011-03-21 08:28:06 +0000
committer Aaron Giles <aaron@aarongiles.com>2011-03-21 08:28:06 +0000
commitc6a063f2a73344f82793e20b8a4de74224af07b6 (patch)
tree769d6d4af147814d0b61d436f7a70eb241459f69 /src/mame/drivers/itgamble.c
parentfee64a6be12ba74f71b75368839bde1b47077856 (diff)
Add driver_device classes for drivers that don't have any variables,
for consistency (and future development). [Atari Ace]
Diffstat (limited to 'src/mame/drivers/itgamble.c')
-rw-r--r--src/mame/drivers/itgamble.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/mame/drivers/itgamble.c b/src/mame/drivers/itgamble.c
index 81aa908c8f1..d82c1787c49 100644
--- a/src/mame/drivers/itgamble.c
+++ b/src/mame/drivers/itgamble.c
@@ -58,6 +58,15 @@
#include "sound/okim6295.h"
+class itgamble_state : public driver_device
+{
+public:
+ itgamble_state(running_machine &machine, const driver_device_config_base &config)
+ : driver_device(machine, config) { }
+
+};
+
+
/*************************
* Video Hardware *
*************************/
@@ -179,7 +188,7 @@ static MACHINE_RESET( itgamble )
* Machine Drivers *
**************************/
-static MACHINE_CONFIG_START( itgamble, driver_device )
+static MACHINE_CONFIG_START( itgamble, itgamble_state )
/* basic machine hardware */
MCFG_CPU_ADD("maincpu", H83044, MAIN_CLOCK/2) /* probably the wrong CPU */