diff options
Diffstat (limited to 'src/mame/drivers/adp.c')
-rw-r--r-- | src/mame/drivers/adp.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mame/drivers/adp.c b/src/mame/drivers/adp.c index 40492d87398..ba32dac2c51 100644 --- a/src/mame/drivers/adp.c +++ b/src/mame/drivers/adp.c @@ -152,13 +152,11 @@ Video board has additional chips: #include "machine/microtch.h" #include "machine/68681.h" -class adp_state : public driver_data_t +class adp_state : public driver_device { public: - static driver_data_t *alloc(running_machine &machine) { return auto_alloc_clear(&machine, adp_state(machine)); } - - adp_state(running_machine &machine) - : driver_data_t(machine) { } + adp_state(running_machine &machine, const driver_device_config_base &config) + : driver_device(machine, config) { } /* misc */ UINT8 mux_data; |