summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/hornet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/hornet.cpp')
-rw-r--r--src/mame/drivers/hornet.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/hornet.cpp b/src/mame/drivers/hornet.cpp
index 49200920f36..b1df15c8419 100644
--- a/src/mame/drivers/hornet.cpp
+++ b/src/mame/drivers/hornet.cpp
@@ -478,9 +478,9 @@ WRITE_LINE_MEMBER(hornet_state::voodoo_vblank_1)
UINT32 hornet_state::screen_update_hornet(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect)
{
- device_t *voodoo = machine().device("voodoo0");
+ voodoo_device* voodoo = (voodoo_device*)machine().device("voodoo0");
- voodoo_update(voodoo, bitmap, cliprect);
+ voodoo->voodoo_update(bitmap, cliprect);
m_k037122_1->tile_draw(screen, bitmap, cliprect);
@@ -493,16 +493,16 @@ UINT32 hornet_state::screen_update_hornet_2board(screen_device &screen, bitmap_r
{
if (strcmp(screen.tag(), ":lscreen") == 0)
{
- device_t *voodoo = machine().device("voodoo0");
- voodoo_update(voodoo, bitmap, cliprect);
+ voodoo_device *voodoo = (voodoo_device*)machine().device("voodoo0");
+ voodoo->voodoo_update(bitmap, cliprect);
/* TODO: tilemaps per screen */
m_k037122_1->tile_draw(screen, bitmap, cliprect);
}
else if (strcmp(screen.tag(), ":rscreen") == 0)
{
- device_t *voodoo = machine().device("voodoo1");
- voodoo_update(voodoo, bitmap, cliprect);
+ voodoo_device *voodoo = (voodoo_device*)machine().device("voodoo1");
+ voodoo->voodoo_update(bitmap, cliprect);
/* TODO: tilemaps per screen */
m_k037122_2->tile_draw(screen, bitmap, cliprect);