diff options
Diffstat (limited to 'src/mame/includes/n64.h')
-rw-r--r-- | src/mame/includes/n64.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mame/includes/n64.h b/src/mame/includes/n64.h index ce888f33b7c..baf381fd2e7 100644 --- a/src/mame/includes/n64.h +++ b/src/mame/includes/n64.h @@ -6,13 +6,11 @@ /*----------- driver state -----------*/ -class _n64_state : public driver_data_t +class _n64_state : public driver_device { public: - static driver_data_t *alloc(running_machine &machine) { return auto_alloc_clear(&machine, _n64_state(machine)); } - - _n64_state(running_machine &machine) - : driver_data_t(machine) { } + _n64_state(running_machine &machine, const driver_device_config_base &config) + : driver_device(machine, config) { } /* video-related */ N64::RDP::Processor m_rdp; |