summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/jollyjgr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/jollyjgr.c')
-rw-r--r--src/mame/drivers/jollyjgr.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mame/drivers/jollyjgr.c b/src/mame/drivers/jollyjgr.c
index 6d65257b039..ec6c51d0624 100644
--- a/src/mame/drivers/jollyjgr.c
+++ b/src/mame/drivers/jollyjgr.c
@@ -102,13 +102,11 @@ Notes:
#include "sound/ay8910.h"
-class jollyjgr_state : public driver_data_t
+class jollyjgr_state : public driver_device
{
public:
- static driver_data_t *alloc(running_machine &machine) { return auto_alloc_clear(&machine, jollyjgr_state(machine)); }
-
- jollyjgr_state(running_machine &machine)
- : driver_data_t(machine) { }
+ jollyjgr_state(running_machine &machine, const driver_device_config_base &config)
+ : driver_device(machine, config) { }
/* memory pointers */
UINT8 * videoram;