summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/plygonet.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/plygonet.h')
-rw-r--r--src/mame/includes/plygonet.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mame/includes/plygonet.h b/src/mame/includes/plygonet.h
index 1463093f7ad..e32321ae09f 100644
--- a/src/mame/includes/plygonet.h
+++ b/src/mame/includes/plygonet.h
@@ -1,10 +1,8 @@
-class polygonet_state : public driver_data_t
+class polygonet_state : public driver_device
{
public:
- static driver_data_t *alloc(running_machine &machine) { return auto_alloc_clear(&machine, polygonet_state(machine)); }
-
- polygonet_state(running_machine &machine)
- : driver_data_t(machine) { }
+ polygonet_state(running_machine &machine, const driver_device_config_base &config)
+ : driver_device(machine, config) { }
/* 68k-side shared ram */
UINT32* shared_ram;