summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/skyarmy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/skyarmy.c')
-rw-r--r--src/mame/drivers/skyarmy.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mame/drivers/skyarmy.c b/src/mame/drivers/skyarmy.c
index 8c8cc03e443..be7aa4569e9 100644
--- a/src/mame/drivers/skyarmy.c
+++ b/src/mame/drivers/skyarmy.c
@@ -29,13 +29,11 @@
#include "cpu/z80/z80.h"
#include "sound/ay8910.h"
-class skyarmy_state : public driver_data_t
+class skyarmy_state : public driver_device
{
public:
- static driver_data_t *alloc(running_machine &machine) { return auto_alloc_clear(&machine, skyarmy_state(machine)); }
-
- skyarmy_state(running_machine &machine)
- : driver_data_t(machine) { }
+ skyarmy_state(running_machine &machine, const driver_device_config_base &config)
+ : driver_device(machine, config) { }
UINT8 *spriteram;
UINT8 *videoram;