summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/bankp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/bankp.h')
-rw-r--r--src/mame/includes/bankp.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mame/includes/bankp.h b/src/mame/includes/bankp.h
index c1777b86599..0f948917d73 100644
--- a/src/mame/includes/bankp.h
+++ b/src/mame/includes/bankp.h
@@ -9,13 +9,11 @@
#define BANKP_CPU_CLOCK (BANKP_MASTER_CLOCK/6)
#define BANKP_SN76496_CLOCK (BANKP_MASTER_CLOCK/6)
-class bankp_state : public driver_data_t
+class bankp_state : public driver_device
{
public:
- static driver_data_t *alloc(running_machine &machine) { return auto_alloc_clear(&machine, bankp_state(machine)); }
-
- bankp_state(running_machine &machine)
- : driver_data_t(machine) { }
+ bankp_state(running_machine &machine, const driver_device_config_base &config)
+ : driver_device(machine, config) { }
/* memory pointers */
UINT8 * videoram;