summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/blockade.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/blockade.h')
-rw-r--r--src/mame/includes/blockade.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mame/includes/blockade.h b/src/mame/includes/blockade.h
index 8301e8d98e2..fbfe05e7130 100644
--- a/src/mame/includes/blockade.h
+++ b/src/mame/includes/blockade.h
@@ -1,13 +1,11 @@
#include "sound/discrete.h"
#include "sound/samples.h"
-class blockade_state : public driver_data_t
+class blockade_state : public driver_device
{
public:
- static driver_data_t *alloc(running_machine &machine) { return auto_alloc_clear(&machine, blockade_state(machine)); }
-
- blockade_state(running_machine &machine)
- : driver_data_t(machine) { }
+ blockade_state(running_machine &machine, const driver_device_config_base &config)
+ : driver_device(machine, config) { }
UINT8 * videoram;