summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/astrocorp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/astrocorp.c')
-rw-r--r--src/mame/drivers/astrocorp.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mame/drivers/astrocorp.c b/src/mame/drivers/astrocorp.c
index 6c57ab28a74..d6fba541be3 100644
--- a/src/mame/drivers/astrocorp.c
+++ b/src/mame/drivers/astrocorp.c
@@ -35,13 +35,11 @@ To do:
#include "machine/ticket.h"
#include "sound/okim6295.h"
-class astrocorp_state : public driver_data_t
+class astrocorp_state : public driver_device
{
public:
- static driver_data_t *alloc(running_machine &machine) { return auto_alloc_clear(&machine, astrocorp_state(machine)); }
-
- astrocorp_state(running_machine &machine)
- : driver_data_t(machine) { }
+ astrocorp_state(running_machine &machine, const driver_device_config_base &config)
+ : driver_device(machine, config) { }
/* memory pointers */
UINT16 * spriteram;