summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/xyonix.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/xyonix.h')
-rw-r--r--src/mame/includes/xyonix.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mame/includes/xyonix.h b/src/mame/includes/xyonix.h
index 3431e2671aa..7379a32731a 100644
--- a/src/mame/includes/xyonix.h
+++ b/src/mame/includes/xyonix.h
@@ -1,10 +1,8 @@
-class xyonix_state : public driver_data_t
+class xyonix_state : public driver_device
{
public:
- static driver_data_t *alloc(running_machine &machine) { return auto_alloc_clear(&machine, xyonix_state(machine)); }
-
- xyonix_state(running_machine &machine)
- : driver_data_t(machine) { }
+ xyonix_state(running_machine &machine, const driver_device_config_base &config)
+ : driver_device(machine, config) { }
UINT8 *vidram;
tilemap_t *tilemap;