summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/iremz80.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/iremz80.h')
-rw-r--r--src/mame/includes/iremz80.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mame/includes/iremz80.h b/src/mame/includes/iremz80.h
index 68763a04e8a..57226a76f4c 100644
--- a/src/mame/includes/iremz80.h
+++ b/src/mame/includes/iremz80.h
@@ -6,13 +6,11 @@
/* These share sound hardware (in audio/irem.h) and hence driver data */
-class irem_z80_state : public driver_data_t
+class irem_z80_state : public driver_device
{
public:
- static driver_data_t *alloc(running_machine &machine) { return auto_alloc_clear(&machine, irem_z80_state(machine)); }
-
- irem_z80_state(running_machine &machine)
- : driver_data_t(machine) { }
+ irem_z80_state(running_machine &machine, const driver_device_config_base &config)
+ : driver_device(machine, config) { }
/* memory pointers */
UINT8 * videoram; // m52, m57, m58