diff options
Diffstat (limited to 'src/mame/includes/fcombat.h')
-rw-r--r-- | src/mame/includes/fcombat.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mame/includes/fcombat.h b/src/mame/includes/fcombat.h index 2afed014a00..88d5f66dc02 100644 --- a/src/mame/includes/fcombat.h +++ b/src/mame/includes/fcombat.h @@ -22,13 +22,11 @@ #define VISIBLE_Y_MAX (30*8) -class fcombat_state : public driver_data_t +class fcombat_state : public driver_device { public: - static driver_data_t *alloc(running_machine &machine) { return auto_alloc_clear(&machine, fcombat_state(machine)); } - - fcombat_state(running_machine &machine) - : driver_data_t(machine) { } + fcombat_state(running_machine &machine, const driver_device_config_base &config) + : driver_device(machine, config) { } /* memory pointers */ UINT8 * videoram; |