summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/bwing.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/bwing.h')
-rw-r--r--src/mame/includes/bwing.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mame/includes/bwing.h b/src/mame/includes/bwing.h
index d4b608823cd..1c36178c028 100644
--- a/src/mame/includes/bwing.h
+++ b/src/mame/includes/bwing.h
@@ -7,13 +7,11 @@
#define BW_DEBUG 0
#define MAX_SOUNDS 16
-class bwing_state : public driver_data_t
+class bwing_state : public driver_device
{
public:
- static driver_data_t *alloc(running_machine &machine) { return auto_alloc_clear(&machine, bwing_state(machine)); }
-
- bwing_state(running_machine &machine)
- : driver_data_t(machine) { }
+ bwing_state(running_machine &machine, const driver_device_config_base &config)
+ : driver_device(machine, config) { }
/* memory pointers */
UINT8 * videoram;