diff options
Diffstat (limited to 'src/mame/drivers/hornet.cpp')
-rw-r--r-- | src/mame/drivers/hornet.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/hornet.cpp b/src/mame/drivers/hornet.cpp index 71f94ad4929..28d358bb450 100644 --- a/src/mame/drivers/hornet.cpp +++ b/src/mame/drivers/hornet.cpp @@ -329,7 +329,7 @@ class hornet_state : public driver_device { public: - hornet_state(const machine_config &mconfig, device_type type, const char *tag) + hornet_state(const machine_config &mconfig, device_type type, std::string tag) : driver_device(mconfig, type, tag), m_workram(*this, "workram"), m_sharc_dataram0(*this, "sharc_dataram0"), @@ -487,7 +487,7 @@ UINT32 hornet_state::screen_update_hornet(screen_device &screen, bitmap_rgb32 &b UINT32 hornet_state::screen_update_hornet_2board(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect) { - if (strcmp(screen.tag(), ":lscreen") == 0) + if (screen.tag()==":lscreen") { device_t *voodoo = machine().device("voodoo0"); voodoo_update(voodoo, bitmap, cliprect); @@ -495,7 +495,7 @@ UINT32 hornet_state::screen_update_hornet_2board(screen_device &screen, bitmap_r /* TODO: tilemaps per screen */ m_k037122_1->tile_draw(screen, bitmap, cliprect); } - else if (strcmp(screen.tag(), ":rscreen") == 0) + else if (screen.tag()==":rscreen") { device_t *voodoo = machine().device("voodoo1"); voodoo_update(voodoo, bitmap, cliprect); |