summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/imolagp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/imolagp.c')
-rw-r--r--src/mame/drivers/imolagp.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mame/drivers/imolagp.c b/src/mame/drivers/imolagp.c
index 2e0aa6a6bfa..fb300069cde 100644
--- a/src/mame/drivers/imolagp.c
+++ b/src/mame/drivers/imolagp.c
@@ -83,13 +83,11 @@ Known issues:
#define HLE_COM
-class imolagp_state : public driver_data_t
+class imolagp_state : public driver_device
{
public:
- static driver_data_t *alloc(running_machine &machine) { return auto_alloc_clear(&machine, imolagp_state(machine)); }
-
- imolagp_state(running_machine &machine)
- : driver_data_t(machine) { }
+ imolagp_state(running_machine &machine, const driver_device_config_base &config)
+ : driver_device(machine, config) { }
UINT8 *slave_workram; // used only ifdef HLE_COM