diff options
Diffstat (limited to 'src/mame/drivers/lastfght.c')
-rw-r--r-- | src/mame/drivers/lastfght.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mame/drivers/lastfght.c b/src/mame/drivers/lastfght.c index 15565ba63ab..9b7fbc5f882 100644 --- a/src/mame/drivers/lastfght.c +++ b/src/mame/drivers/lastfght.c @@ -66,13 +66,11 @@ Notes: #include "deprecat.h" #include "cpu/h83002/h8.h" -class lastfght_state : public driver_data_t +class lastfght_state : public driver_device { public: - static driver_data_t *alloc(running_machine &machine) { return auto_alloc_clear(&machine, lastfght_state(machine)); } - - lastfght_state(running_machine &machine) - : driver_data_t(machine) { } + lastfght_state(running_machine &machine, const driver_device_config_base &config) + : driver_device(machine, config) { } /* memory pointers */ UINT8 * colorram; |