summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/toaplan1.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/toaplan1.h')
-rw-r--r--src/mame/includes/toaplan1.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mame/includes/toaplan1.h b/src/mame/includes/toaplan1.h
index ca4afc855a3..51f910fdf53 100644
--- a/src/mame/includes/toaplan1.h
+++ b/src/mame/includes/toaplan1.h
@@ -4,13 +4,11 @@
****************************************************************************/
-class toaplan1_state : public driver_data_t
+class toaplan1_state : public driver_device
{
public:
- static driver_data_t *alloc(running_machine &machine) { return auto_alloc_clear(&machine, toaplan1_state(machine)); }
-
- toaplan1_state(running_machine &machine)
- : driver_data_t(machine) { }
+ toaplan1_state(running_machine &machine, const driver_device_config_base &config)
+ : driver_device(machine, config) { }
int unk_reset_port;
UINT16 *colorram1;