summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/seta.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/seta.h')
-rw-r--r--src/mame/includes/seta.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mame/includes/seta.h b/src/mame/includes/seta.h
index 27d19ac87e2..0c4eb6bd8d2 100644
--- a/src/mame/includes/seta.h
+++ b/src/mame/includes/seta.h
@@ -24,13 +24,11 @@ struct _game_offset
int tilemap_offs[2];
};
-class seta_state : public driver_data_t
+class seta_state : public driver_device
{
public:
- static driver_data_t *alloc(running_machine &machine) { return auto_alloc_clear(&machine, seta_state(machine)); }
-
- seta_state(running_machine &machine)
- : driver_data_t(machine) { }
+ seta_state(running_machine &machine, const driver_device_config_base &config)
+ : driver_device(machine, config) { }
UINT8 *sharedram;
UINT16 *workram;