diff --git a/src/emu/video/voodoo.c b/src/emu/video/voodoo.c index 2c64d31fcba..ab0096077e8 100644 --- a/src/emu/video/voodoo.c +++ b/src/emu/video/voodoo.c @@ -5751,6 +5751,11 @@ voodoo_banshee_device::voodoo_banshee_device(const machine_config &mconfig, cons { } +voodoo_banshee_device::voodoo_banshee_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source) + : voodoo_device(mconfig, type, name, tag, owner, clock, shortname, source) +{ +} + //------------------------------------------------- // device_start - device-specific startup //------------------------------------------------- @@ -5764,7 +5769,7 @@ void voodoo_banshee_device::device_start() const device_type VOODOO_3 = &device_creator; voodoo_3_device::voodoo_3_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) - : voodoo_device(mconfig, VOODOO_3, "3dfx Voodoo 3", tag, owner, clock, "voodoo_3", __FILE__) + : voodoo_banshee_device(mconfig, VOODOO_3, "3dfx Voodoo 3", tag, owner, clock, "voodoo_3", __FILE__) { } diff --git a/src/emu/video/voodoo.h b/src/emu/video/voodoo.h index d3255a6a596..26362bb168d 100644 --- a/src/emu/video/voodoo.h +++ b/src/emu/video/voodoo.h @@ -128,6 +128,7 @@ class voodoo_banshee_device : public voodoo_device { public: voodoo_banshee_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + voodoo_banshee_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); DECLARE_READ32_MEMBER( banshee_r ); DECLARE_WRITE32_MEMBER( banshee_w ); @@ -148,7 +149,7 @@ protected: extern const device_type VOODOO_BANSHEE; -class voodoo_3_device : public voodoo_device +class voodoo_3_device : public voodoo_banshee_device { public: voodoo_3_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);