diff options
Diffstat (limited to 'src/mame/includes/jedi.h')
-rw-r--r-- | src/mame/includes/jedi.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mame/includes/jedi.h b/src/mame/includes/jedi.h index 4e132c4f6ac..60f0545538d 100644 --- a/src/mame/includes/jedi.h +++ b/src/mame/includes/jedi.h @@ -14,13 +14,11 @@ #define JEDI_TMS5220_CLOCK (JEDI_AUDIO_CPU_OSC / 2 / 9) /* div by 9 is via a binary counter that counts from 7 to 16 */ -class jedi_state : public driver_data_t +class jedi_state : public driver_device { public: - static driver_data_t *alloc(running_machine &machine) { return auto_alloc_clear(&machine, jedi_state(machine)); } - - jedi_state(running_machine &machine) - : driver_data_t(machine) { } + jedi_state(running_machine &machine, const driver_device_config_base &config) + : driver_device(machine, config) { } /* machine state */ UINT8 a2d_select; |