diff options
Diffstat (limited to 'src/mame/includes/toypop.h')
-rw-r--r-- | src/mame/includes/toypop.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mame/includes/toypop.h b/src/mame/includes/toypop.h index 879904d56f6..764d0f49ffd 100644 --- a/src/mame/includes/toypop.h +++ b/src/mame/includes/toypop.h @@ -1,10 +1,8 @@ -class toypop_state : public driver_data_t +class toypop_state : public driver_device { public: - static driver_data_t *alloc(running_machine &machine) { return auto_alloc_clear(&machine, toypop_state(machine)); } - - toypop_state(running_machine &machine) - : driver_data_t(machine) { } + toypop_state(running_machine &machine, const driver_device_config_base &config) + : driver_device(machine, config) { } UINT8 *videoram; UINT8 *spriteram; |