diff options
Diffstat (limited to 'src/mame/drivers/bigfghtr.c')
-rw-r--r-- | src/mame/drivers/bigfghtr.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mame/drivers/bigfghtr.c b/src/mame/drivers/bigfghtr.c index d3e0dcfbb54..65f07ed4b32 100644 --- a/src/mame/drivers/bigfghtr.c +++ b/src/mame/drivers/bigfghtr.c @@ -117,13 +117,11 @@ Notes: #include "sound/3812intf.h" -class bigfghtr_state : public driver_data_t +class bigfghtr_state : public driver_device { public: - static driver_data_t *alloc(running_machine &machine) { return auto_alloc_clear(&machine, bigfghtr_state(machine)); } - - bigfghtr_state(running_machine &machine) - : driver_data_t(machine) { } + bigfghtr_state(running_machine &machine, const driver_device_config_base &config) + : driver_device(machine, config) { } /* video-related */ UINT16 * text_videoram; |