diff options
Diffstat (limited to 'src/mame/includes/rohga.h')
-rw-r--r-- | src/mame/includes/rohga.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mame/includes/rohga.h b/src/mame/includes/rohga.h index a09d7661e43..705b8cdbba0 100644 --- a/src/mame/includes/rohga.h +++ b/src/mame/includes/rohga.h @@ -7,13 +7,11 @@ #include "sound/okim6295.h" #include "video/deco16ic.h" -class rohga_state : public driver_data_t +class rohga_state : public driver_device { public: - static driver_data_t *alloc(running_machine &machine) { return auto_alloc_clear(&machine, rohga_state(machine)); } - - rohga_state(running_machine &machine) - : driver_data_t(machine), + rohga_state(running_machine &machine, const driver_device_config_base &config) + : driver_device(machine, config), maincpu(machine.device<cpu_device>("maincpu")), audiocpu(machine.device<cpu_device>("audiocpu")), deco16ic(machine.device<deco16ic_device>("deco_custom")), |