summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/atarirle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/atarirle.cpp')
-rw-r--r--src/mame/video/atarirle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/atarirle.cpp b/src/mame/video/atarirle.cpp
index 464df7b9a4f..6a433d4666c 100644
--- a/src/mame/video/atarirle.cpp
+++ b/src/mame/video/atarirle.cpp
@@ -66,7 +66,7 @@ inline int atari_rle_objects_device::round_to_powerof2(int value)
// atari_rle_objects_device: Constructor
//-------------------------------------------------
-atari_rle_objects_device::atari_rle_objects_device(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
+atari_rle_objects_device::atari_rle_objects_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, ATARI_RLE_OBJECTS, "Atari RLE Motion Objects", tag, owner, clock, "atari_rle", __FILE__),
device_video_interface(mconfig, *this)
{
@@ -191,7 +191,7 @@ void atari_rle_objects_device::device_start()
// resolve our memory
memory_share *share = owner()->memshare(tag());
if (share == nullptr)
- throw emu_fatalerror("Error: unable to find memory share '%s' needed for Atari RLE device", tag().c_str());
+ throw emu_fatalerror("Error: unable to find memory share '%s' needed for Atari RLE device", tag());
m_ram.set(*share, 2);
// register a VBLANK callback