diff options
Diffstat (limited to 'src/mame/includes/turbo.h')
-rw-r--r-- | src/mame/includes/turbo.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mame/includes/turbo.h b/src/mame/includes/turbo.h index 2f14b45bc51..7348f33ac61 100644 --- a/src/mame/includes/turbo.h +++ b/src/mame/includes/turbo.h @@ -22,13 +22,11 @@ struct i8279_state }; -class turbo_state : public driver_data_t +class turbo_state : public driver_device { public: - static driver_data_t *alloc(running_machine &machine) { return auto_alloc_clear(&machine, turbo_state(machine)); } - - turbo_state(running_machine &machine) - : driver_data_t(machine) { } + turbo_state(running_machine &machine, const driver_device_config_base &config) + : driver_device(machine, config) { } /* memory pointers */ UINT8 * videoram; |