summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/destroyr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/destroyr.c')
-rw-r--r--src/mame/drivers/destroyr.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mame/drivers/destroyr.c b/src/mame/drivers/destroyr.c
index b5c49faee0a..8c6e2609b87 100644
--- a/src/mame/drivers/destroyr.c
+++ b/src/mame/drivers/destroyr.c
@@ -9,13 +9,11 @@ Atari Destroyer Driver
#include "deprecat.h"
-class destroyr_state : public driver_data_t
+class destroyr_state : public driver_device
{
public:
- static driver_data_t *alloc(running_machine &machine) { return auto_alloc_clear(&machine, destroyr_state(machine)); }
-
- destroyr_state(running_machine &machine)
- : driver_data_t(machine) { }
+ destroyr_state(running_machine &machine, const driver_device_config_base &config)
+ : driver_device(machine, config) { }
/* memory pointers */
UINT8 * major_obj_ram;