summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/deco156.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/deco156.c')
-rw-r--r--src/mame/drivers/deco156.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mame/drivers/deco156.c b/src/mame/drivers/deco156.c
index d25ffb72e01..928501c7eda 100644
--- a/src/mame/drivers/deco156.c
+++ b/src/mame/drivers/deco156.c
@@ -22,13 +22,11 @@
#include "sound/ymz280b.h"
#include "video/deco16ic.h"
-class deco156_state : public driver_data_t
+class deco156_state : public driver_device
{
public:
- static driver_data_t *alloc(running_machine &machine) { return auto_alloc_clear(&machine, deco156_state(machine)); }
-
- deco156_state(running_machine &machine)
- : driver_data_t(machine),
+ deco156_state(running_machine &machine, const driver_device_config_base &config)
+ : driver_device(machine, config),
oki2(machine.device<okim6295_device>("oki2")) { }
/* memory pointers */