summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/mugsmash.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/mugsmash.h')
-rw-r--r--src/mame/includes/mugsmash.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mame/includes/mugsmash.h b/src/mame/includes/mugsmash.h
index b0bf97cbf69..2b6a1c017f1 100644
--- a/src/mame/includes/mugsmash.h
+++ b/src/mame/includes/mugsmash.h
@@ -1,11 +1,9 @@
-class mugsmash_state : public driver_data_t
+class mugsmash_state : public driver_device
{
public:
- static driver_data_t *alloc(running_machine &machine) { return auto_alloc_clear(&machine, mugsmash_state(machine)); }
-
- mugsmash_state(running_machine &machine)
- : driver_data_t(machine) { }
+ mugsmash_state(running_machine &machine, const driver_device_config_base &config)
+ : driver_device(machine, config) { }
UINT16 *videoram1;
UINT16 *videoram2;