diff options
Diffstat (limited to 'src/mame/includes/opwolf.h')
-rw-r--r-- | src/mame/includes/opwolf.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mame/includes/opwolf.h b/src/mame/includes/opwolf.h index 3d26cd69183..e48c608b507 100644 --- a/src/mame/includes/opwolf.h +++ b/src/mame/includes/opwolf.h @@ -4,13 +4,11 @@ *************************************************************************/ -class opwolf_state : public driver_data_t +class opwolf_state : public driver_device { public: - static driver_data_t *alloc(running_machine &machine) { return auto_alloc_clear(&machine, opwolf_state(machine)); } - - opwolf_state(running_machine &machine) - : driver_data_t(machine) { } + opwolf_state(running_machine &machine, const driver_device_config_base &config) + : driver_device(machine, config) { } /* memory pointers */ UINT8 * cchip_ram; |