summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/k033906.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/k033906.cpp')
-rw-r--r--src/devices/machine/k033906.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/k033906.cpp b/src/devices/machine/k033906.cpp
index bd32fef29f1..d9953d2864f 100644
--- a/src/devices/machine/k033906.cpp
+++ b/src/devices/machine/k033906.cpp
@@ -33,7 +33,7 @@ k033906_device::k033906_device(const machine_config &mconfig, const char *tag, d
void k033906_device::device_start()
{
- m_voodoo = machine().device(m_voodoo_tag);
+ m_voodoo = (voodoo_device*)machine().device(m_voodoo_tag);
m_reg_set = 0;
@@ -95,7 +95,7 @@ void k033906_device::reg_w(int reg, UINT32 data)
case 0x10: // initEnable
{
- voodoo_set_init_enable(m_voodoo, data);
+ m_voodoo->voodoo_set_init_enable(data);
break;
}