summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/lockon.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/lockon.h')
-rw-r--r--src/mame/includes/lockon.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mame/includes/lockon.h b/src/mame/includes/lockon.h
index b1d2f6202ca..31622ae197f 100644
--- a/src/mame/includes/lockon.h
+++ b/src/mame/includes/lockon.h
@@ -15,13 +15,11 @@
#define VTOTAL 280
-class lockon_state : public driver_data_t
+class lockon_state : public driver_device
{
public:
- static driver_data_t *alloc(running_machine &machine) { return auto_alloc_clear(&machine, lockon_state(machine)); }
-
- lockon_state(running_machine &machine)
- : driver_data_t(machine) { }
+ lockon_state(running_machine &machine, const driver_device_config_base &config)
+ : driver_device(machine, config) { }
/* memory pointers */
UINT16 *char_ram;