diff options
Diffstat (limited to 'src/mame/includes/laserbat.h')
-rw-r--r-- | src/mame/includes/laserbat.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mame/includes/laserbat.h b/src/mame/includes/laserbat.h index 594256f3a39..4e9e667297a 100644 --- a/src/mame/includes/laserbat.h +++ b/src/mame/includes/laserbat.h @@ -4,13 +4,11 @@ *************************************************************************/ -class laserbat_state : public driver_data_t +class laserbat_state : public driver_device { public: - static driver_data_t *alloc(running_machine &machine) { return auto_alloc_clear(&machine, laserbat_state(machine)); } - - laserbat_state(running_machine &machine) - : driver_data_t(machine) { } + laserbat_state(running_machine &machine, const driver_device_config_base &config) + : driver_device(machine, config) { } /* video-related */ tilemap_t *bg_tilemap; |