summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/go2000.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/go2000.c')
-rw-r--r--src/mame/drivers/go2000.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mame/drivers/go2000.c b/src/mame/drivers/go2000.c
index 14dcc92ceaf..798fde396d0 100644
--- a/src/mame/drivers/go2000.c
+++ b/src/mame/drivers/go2000.c
@@ -34,13 +34,11 @@ Notes:
#include "cpu/z80/z80.h"
#include "sound/dac.h"
-class go2000_state : public driver_data_t
+class go2000_state : public driver_device
{
public:
- static driver_data_t *alloc(running_machine &machine) { return auto_alloc_clear(&machine, go2000_state(machine)); }
-
- go2000_state(running_machine &machine)
- : driver_data_t(machine) { }
+ go2000_state(running_machine &machine, const driver_device_config_base &config)
+ : driver_device(machine, config) { }
/* memory pointers */
UINT16 * videoram;