summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/galaga.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/galaga.h')
-rw-r--r--src/mame/includes/galaga.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mame/includes/galaga.h b/src/mame/includes/galaga.h
index 35fb9748921..c0fdd8b0cc9 100644
--- a/src/mame/includes/galaga.h
+++ b/src/mame/includes/galaga.h
@@ -1,12 +1,10 @@
#include "sound/discrete.h"
-class _galaga_state : public driver_data_t
+class _galaga_state : public driver_device
{
public:
- static driver_data_t *alloc(running_machine &machine) { return auto_alloc_clear(&machine, _galaga_state(machine)); }
-
- _galaga_state(running_machine &machine)
- : driver_data_t(machine)
+ _galaga_state(running_machine &machine, const driver_device_config_base &config)
+ : driver_device(machine, config)
{
xevious_bs[0] = 0;
xevious_bs[1] = 0;