summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/fantland.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/fantland.h')
-rw-r--r--src/mame/includes/fantland.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mame/includes/fantland.h b/src/mame/includes/fantland.h
index 382f11e0156..f567e287b8b 100644
--- a/src/mame/includes/fantland.h
+++ b/src/mame/includes/fantland.h
@@ -1,12 +1,10 @@
-class fantland_state : public driver_data_t
+class fantland_state : public driver_device
{
public:
- static driver_data_t *alloc(running_machine &machine) { return auto_alloc_clear(&machine, fantland_state(machine)); }
-
- fantland_state(running_machine &machine)
- : driver_data_t(machine) { }
+ fantland_state(running_machine &machine, const driver_device_config_base &config)
+ : driver_device(machine, config) { }
/* memory pointers */
// UINT8 * spriteram; // currently directly used in a 16bit map...