fixed viper regression (nw)

This commit is contained in:
Miodrag Milanovic 2014-05-08 07:15:01 +00:00
parent ee9eaeaf5a
commit 198162b8f5
2 changed files with 8 additions and 2 deletions

View File

@ -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::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__)
{
}

View File

@ -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);