diff options
Diffstat (limited to 'src/mame/includes/xmen.h')
-rw-r--r-- | src/mame/includes/xmen.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mame/includes/xmen.h b/src/mame/includes/xmen.h index 2cdaa5c0f45..a9b8849e75a 100644 --- a/src/mame/includes/xmen.h +++ b/src/mame/includes/xmen.h @@ -1,11 +1,9 @@ -class xmen_state : public driver_data_t +class xmen_state : public driver_device { public: - static driver_data_t *alloc(running_machine &machine) { return auto_alloc_clear(&machine, xmen_state(machine)); } - - xmen_state(running_machine &machine) - : driver_data_t(machine) { } + xmen_state(running_machine &machine, const driver_device_config_base &config) + : driver_device(machine, config) { } /* memory pointers */ // UINT16 * paletteram; // currently this uses generic palette handling |