summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/egghunt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/egghunt.c')
-rw-r--r--src/mame/drivers/egghunt.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mame/drivers/egghunt.c b/src/mame/drivers/egghunt.c
index a3829775e03..4bc1a2f3c5a 100644
--- a/src/mame/drivers/egghunt.c
+++ b/src/mame/drivers/egghunt.c
@@ -45,13 +45,11 @@ I dumped it with this configuration. In case I'll redump it desoldering pin 16 f
#include "cpu/z80/z80.h"
#include "sound/okim6295.h"
-class egghunt_state : public driver_data_t
+class egghunt_state : public driver_device
{
public:
- static driver_data_t *alloc(running_machine &machine) { return auto_alloc_clear(&machine, egghunt_state(machine)); }
-
- egghunt_state(running_machine &machine)
- : driver_data_t(machine) { }
+ egghunt_state(running_machine &machine, const driver_device_config_base &config)
+ : driver_device(machine, config) { }
/* memory pointers */
UINT8 * bgram;