summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/thunderx.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/thunderx.h')
-rw-r--r--src/mame/includes/thunderx.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mame/includes/thunderx.h b/src/mame/includes/thunderx.h
index e49e6d5e311..3e5d86456bb 100644
--- a/src/mame/includes/thunderx.h
+++ b/src/mame/includes/thunderx.h
@@ -4,13 +4,11 @@
*************************************************************************/
-class thunderx_state : public driver_data_t
+class thunderx_state : public driver_device
{
public:
- static driver_data_t *alloc(running_machine &machine) { return auto_alloc_clear(&machine, thunderx_state(machine)); }
-
- thunderx_state(running_machine &machine)
- : driver_data_t(machine) { }
+ thunderx_state(running_machine &machine, const driver_device_config_base &config)
+ : driver_device(machine, config) { }
/* memory pointers */
UINT8 * ram;